Висло-Одерская операция
In the course of the Vistula–Oder Offensive, on March 4, 1945 the Red Army and the Polish First Army captured the city, whose center was largely destroyed during the fighting. Polish authorities began administering the town on March 6, 1945. The town was granted to the Republic of Poland according to the Potsdam Agreement and the remaining German citizens were expelled.