What kind of government did Spain have after death?

Your question seems to include a factual error. Death does not lead to any specific government. Perhaps you meant to ask about the type of government that Spain had during different historical periods or at a particular point in time?
Copyright Wanderlust World © https://www.ynyoo.com