Kingdom of France Spain and the Holy Roman Empire during the Thirty Years' War (1618–48) which had broken out in Germany. After the death of both king and cardinal, the Peace of Westphalia (1648) secured universal acceptance of Germany's political and religious fragmentation, but the Regency of Anne of Austria and her minister Cardinal Mazarin experienced a civil uprising known as the Fronde (1648–1653) which expanded into a Franco-Spanish War (1653–59). The Treaty of the Pyrenees (1659) formalised France's seizure (1642) of the Spanish territory of Roussillon after the crushing of the ephemeral Catalan Republic and ushered a short period of peace. The
Battle of the Dunes (1658) The victory at the Battle of the Dunes and its consequences would lead to the end of ten years of war with the signing of Treaty of the Pyrenees. By this treaty France gained Roussillon and Perpignan, Montmédy and other parts of Luxembourg, Artois and towns in Flanders, including Arras, Béthune, Gravelines and Thionville, and a new border with Spain was fixed at the Pyrenees. The 1659 treaty also required the Spanish king to recognise and confirm all French gains in the 1648 Peace of Westphalia. The defeat of the Spanish relief force and the taking of Dunkirk ended the