War of Devolution
The new government also inherited a wide range of economic and political problems. The long-running Portuguese Restoration War was the most urgent, followed in May 1667 by the War of Devolution, when France invaded the Spanish Netherlands and the Spanish province of Franche-Comté. The need to reduce spending resulted in the 1668 treaties of Aix-la-Chapelle and Lisbon ended the wars with France and Portugal.