1653 Imperial election electoral rights in a treaty of 1619, confirmed at the Diet of Regensburg on February 25, 1623. The revolt ignited a broader religious war across Germany, the Thirty Years' War, which would involve not only the states of the empire but also Sweden, the Dutch Republic, France, Denmark–Norway, England, Scotland, Spain and Hungary and which would kill some eight million people before its end. The Peace of Westphalia which ended the war in 1648 revived the principle of "cuius regio, eius religio" established in 1555 by the Peace of Augsburg and established the modern concept of Westphalian sovereignty. It additionally
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