Brandenburg-Prussia Catholic armies swept the land back and forth, killing, burning, seizing men and taking the food supplies. Upwards of half the population was killed or dislocated. Berlin and the other major cities were in ruins, and recovery took decades. By the Peace of Westphalia, which ended the Thirty Years' War in 1648, Brandenburg gained Minden and Halberstadt, also the succession in Farther Pomerania (incorporated in 1653) and the Duchy of Magdeburg (incorporated in 1680). With the Treaty of Bromberg (1657), concluded during the Second Northern War, the electors were freed of Polish vassalage for the Duchy of Prussia and gained
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