Spain in the 17th century
Habsburg Spain was at the height of its power and cultural influence at the beginning of the 17th century, but military, political, and economic difficulties were already being discussed within Spain. In the coming decades these difficulties grew and saw France gradually taking Spain's place as Europe's leading power through the later half of the century. Many different factors, including the decentralized political nature of Spain, inefficient taxation, a succession of weak kings, power struggles in the Spanish court and a tendency to focus on the American colonies instead of Spain's domestic economy, all contributed to the decline of the Habsburg rule of Spain.
The end of the century also brought the end of Habsburg rule. The 18th century began with the War of the Spanish Succession, which concluded in the establishment of the Bourbon dynasty in Spain.
Background: Spain from 1469 to the reign of Philip II of Spain
In 1469, Ferdinand II of Aragon and Isabella I of Castile united the Crowns of Aragon and Castile into one, creating the early modern Spanish state. Although this ensured future Spanish rulers would rule over both Aragon and Castile, both regions had their own administration and legal systems. In addition, Aragon itself was divided into Aragon proper, Valencia, and Catalonia - each with its own institutions, customs, and regional identity. As Ferdinand and Isabella both outlived their only son to survive infancy, they were succeeded by their grandson, Charles V, Holy Roman Emperor upon Ferdinand's death in 1516. Being Flemish born and not a native Spanish speaker, Charles never completely assimilated into Spanish society and as Holy Roman Emperor, had to rule over two empires at once. Determining it to be too difficult for one person to rule over all of his domains, Charles gave the Holy Roman Empire to his younger brother Ferdinand I and the Spanish Empire to son, Philip II.Although the Spanish Empire was at the height of its power under Philip II, a number of factors foreshadowed its eventual, gradual decline. There was a revolt in the Netherlands which started in 1568 and lasted the rest of Philip's reign. Also, the moriscos in Andalusia rebelled in 1570 against Philip's imposition of Spanish language and customs on them. Philip was at war with the Dutch republic, France and England during the last 10 years of his reign. These and other wars and difficulties in maintaining the vast Spanish Empire led to four bankruptcies during Philip's reign.
Reign of Philip III of Spain (1598–1621)
Signs that Habsburg Spain was declining became visible during the reign of Philip III. Throughout Philip III's reign the main currency was a copper-based coin called vellon, which was minted in response to the fall in imports of silver. Ironically, the copper needed to make vellon was purchased in Amsterdam with silver. Imports of silver bullion from the Americas fell by half during Philip III's reign. In 1599, a year after Philip took the throne, a bubonic plague killed about half a million people.Reign of Philip IV of Spain (1621–1665)
Philip IV's father passed on a kingdom in decline already. Philip IV of Spain was not competent enough to give the kind of clear direction that Spain needed. Responsibility passed to aristocratic advisers. Gaspar de Guzmán, count-duke of Olivares, attempted and failed to establish the centralized administration that his contemporary, Cardinal Richelieu, had introduced in France. Under theimmense pressures of the Thirty Years' War, Olivares attempted to bureaucratically centralise administration and to extract further taxes via the Union of Arms. Catalonia revolted and was virtually annexed by France. Portugal reasserted its independence in 1640, with the Restoration War sparked by John IV of Portugal, a Braganza claimant to the Spanish throne. An attempt was made to separate Andalusia from Spain. Spanish forces recovered Naples and most of Catalonia from French control but Portugal was lost permanently. In 1648, at the Peace of Westphalia, Spain assented to the emperor's accommodation with the German Protestants, and in 1654 it recognized the independence of the northern Netherlands.