Peace of Westphalia its own control. A total of 109 delegations arrived to represent the belligerent states, but not all delegations were present at the same time. Three treaties were signed to end each of the overlapping wars: the Peace of Münster, the Treaty of Münster, and the Treaty of Osnabrück. These treaties ended the Thirty Years' War (1618–1648) in the Holy Roman Empire, with the Habsburgs and their Catholic allies on one side, battling the Protestant powers (Sweden, Denmark, Dutch, and Holy Roman principalities) allied with France (Catholic but anti-Habsburg). The treaties also ended the Eighty Years' War (1568–1648) between Spain and
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