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
Stralsund Treaty of Stettin (1630), the town became one of two major Swedish forts in the Duchy of Pomerania, alongside Stettin (now Szczecin, Poland). After the war, the Peace of Westphalia (1648) and the Treaty of Stettin (1653) made Stralsund part of Swedish Pomerania. Lost to Brandenburg in the Battle of Stralsund (1678), it reverted to Sweden in the Treaty of Saint-Germain-en-Laye (1679). In the Great Northern War in 1715 Charles XII led the defence of Stralsund for a year against the united European armies. Stralsund remained under Swedish control until the Battle of Stralsund (1807), when Napoleon Bonaparte's army occupied