The city was liberated by the Soviet troops early in 1945, when most of Poland was liberated in the Vistula-Oder Offensive in 23 days, and 35 divisions of Wehrmacht were defeated.