Potsdam Agreement
In March 1945, shortly before the end of World War II, the town was captured by the Soviet Army. Under the terms of the Potsdam Agreement, the town became again part of Poland after the war.