In the late 19th century Kolberg became a popular spa town at the Baltic Sea. In 1945, Polish and Soviet troops captured the town, while the remaining German population which had not fled the advancing Red Army was expelled in accordance to the Potsdam Agreement. Kołobrzeg, now part of post-war Poland and devastated in the preceding Battle of Kolberg, was rebuilt, but lost its status as the regional center to the nearby city of Koszalin.