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
House of Bourbon-Dampierre House of Bourbon-Dampierre The House of Bourbon-Dampierre refers to a noble dynasty emerged from the marriage of Guy II of Dampierre with Mathilde of Bourbon in 1197. The male line of this house ended in 1249, while the female line persisted until 1287. Through the marriage of their last descendant, Mathilde (Mahaut) of Bourbon, with Guy of Dampierre, the territories of Bourbon went to one of the branches of the House of Dampierre in 1196. The arms of the House of Dampierre, nowadays extinct, were "from gules to two leopards of gold, with baron's crown" ("De gueules à deux léopards