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
Dominions of Sweden Norway to the king of Sweden under the Treaty of Kiel, which followed on Second War against Napoleon. However the treaty of Kiel never came into force: instead sovereignty of Western Pomerania passed to Kingdom of Prussia, who already held the eastern parts and merged them into the Province of Pomerania. Norway declared her independence, but was forced after a short war into a personal Union with Sweden. Sweden received the German town of Wismar with the surrounding countryside in the Peace of Westphalia (1648). In 1803 Wismar was pawned, in exchange for a loan, and control was handed over