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 Bakhchisarai fish in the Dnieper and its tributaries; to obtain salt in the south; and to sail on the Dnieper and the Black Sea. The sultan then recognized Muscovy's sovereignty in the Left-bank Ukraine region and the Zaporozhian Cossack domain, while the southern part of the Kiev region, the Bratslav region, and Podolia were left under Ottoman control. Despite the treaty, Russia joined a European coalition against the Ottoman Empire in 1686. Treaty of Bakhchisarai The Treaty of Bakhchisarai (; ) was signed in Bakhchisaray, which ended the Russo-Turkish War (1676–1681), on 3 January 1681 by Russia, the Ottoman Empire, and