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
Treaty of Stettin (1630) Pomerania to enforce Brandenburg's claims on succession, but they were defeated by Sweden in the ensuing battles. Some of the Pomeranian nobility had changed sides and supported Brandenburg. By the end of the war, the treaty was superseded by the Peace of Westphalia (1648) and the subsequent Treaty of Stettin (1653), when Pomerania was partitioned into a western, Swedish part (Western Pomerania, thenceforth Swedish Pomerania), and an eastern, Brandenburgian part (Farther Pomerania, thenceforth the Brandenburg-Prussian Province of Pomerania). Following the Capitulation of Franzburg in 1627, the Duchy of Pomerania was occupied by forces of Ferdinand II, Holy Roman Emperor, under