Why did the death of Charles II of Spain lead to the War of the Spanish Succession?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

The death of Charles II in 1700 triggered the War of the Spanish Succession because he died childless, leaving the vast Spanish Empire without a clear, universally accepted heir.12

The conflict arose from competing dynastic claims between the House of Bourbon and the House of Habsburg. Both families had ties to the Spanish throne through marriages, but previous renunciations and conflicting wills complicated the succession. While European powers initially sought to partition the inheritance to maintain the balance of power, Charles II was determined to keep his dominions undivided.341

In his final will, Charles II named Philip, duc d’Anjou—a grandson of Louis XIV—as his sole heir. When Louis XIV accepted the will, it threatened to unite French and Spanish power, prompting a coalition of nations, including England and the United Provinces, to intervene to prevent Bourbon hegemony.342