spain was almost bankrupt and its government was unstable