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-Maine House of Bourbon-Maine The House of Bourbon-Maine was an illegitimate branch of the House of Bourbon, being thus part of the Capetian dynasty. It was founded in 1672 when Louis-Auguste de Bourbon, duc du Maine was legitimised by his father, King Louis XIV of France. Louis-Auguste, founder of the House of Bourbon-Maine, was the first-born illegitimate son of Louis XIV of France and his mistress, Madame de Montespan. Immediately after his birth in 1670, he was entrusted to the care of Madame Scarron, one of his mother's acquaintances, who brought him to a private house on the rue de Vaugirard,