During World War II, Germany occupied the city from 7 September 1939 to 1 February 1945. The "Einsatzkommando 16" entered the city to commit various crimes against Poles. Under German occupation, local people were subjected to arrests, expulsions, slave labor, deportations to Nazi concentration camps and executions, especially the Polish elites as part of the "Intelligenzaktion".