 In that course, about 500 people committed suicide.The following month, according to the post-war Potsdam Agreement, the town was placed under Polish administration under territorial compensation for the territories of former Eastern Poland annexed by the Soviet Union.The remaining German inhabitants who had not fled their homes from the Eastern Front were expelled, and the town was partly resettled with Poles transferred from Polish areas annexed by the Soviet Union.