Despite such circumstances, local Poles organized an underground resistance movement, which included the "Ogniwo" and "Świt" organizations, the secret youth organization "Tajna Siódemka" and structures of the Polish Underground State. The German occupation ended in 1945, and the town returned to Poland.