Kraków was left undefended (except for some small local units) after the Polish 6th Infantry Division marched by the city to the nearby Niepołomice Forest to set new defensive lines. This led the Mayor of Kraków to declare it an open city on 5 September 1939.