Kingdom of Aragon
In 1700, with the death of Charles II, Philip of Anjou was proclaimed king of Castile and Aragon, which provoked the War of the Spanish Succession. The Crown of Aragon sided with Archduke Charles, the other pretender. When the war ended, Philip V promulgated the decrees of Nueva Planta, which abolished the foral institutions of the Crown of Aragon, which was integrated into a modern and centralized state in most of its territory, except in the Basque Provinces and Navarre, which continued to maintain their fueros. In 1711 the Captaincy General of Aragon was created.