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
Eighty Years' War Roman Empire of 14 and 24 October 1648, which comprise the Peace of Westphalia, but which were not signed by the Republic, the Republic now also gained formal "independence" from the Holy Roman Empire, just like the Swiss Cantons. In both cases this was just a formalisation of a situation that had already existed for a long time. France and Spain did not conclude a treaty and so remained at war until the peace of the Pyrenees of 1659. The peace was celebrated in the Republic with sumptuous festivities. It was solemnly promulgated on the 80th anniversary of the execution