Spain in the 17th century all contributed to the decline of the Habsburg rule of Spain. The end of the 17th 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. 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
Bourbon claim to the Spanish throne around 824 when they rebelled against nominal Carolingian authority. In 905, a coalition of neighbors forced Fortún Garcés, a grandson of Íñigo Arista, to retire to a monastery, and enthroned in his place a scion of a new dynasty, under which, the name Navarre began to supplant that of Pamplona. With the assassination of Sancho IV, the last king of the aforementioned dynasty, Navarre was invaded by his cousins Alfonso VI of Castile and Sancho Ramirez of Aragon, and the latter made king, leading to a half-century of Aragonese control. The death of Alfonso led to a succession crisis in