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
Treaty of Stettin (1653) Pomerania became Brandenburgian Pomerania. During the war, Sweden had occupied the Duchy of Pomerania in 1630. The last Griffin duke Bogislaw XIV died in 1637, his duchy was supposed to be inherited by Brandenburg, who based her claims on in the Treaty of Grimnitz. This however was hindered by the Swedish presence. The 1648 Peace of Westphalia ended the war, and Pomerania was to be partitioned between Brandenburg and Sweden. The 1650 Treaty of Nuremberg roughly defined the areas that should be under control of Sweden and Brandenburg, respectively. The precise border was drawn in the 1653 Treaty of Stettin,