 Further resistance meant destruction of Kraków and starvation of its residents, so on the next day, Czarniecki agreed to capitulate.On October 17, a truce was signed with the Swedes.It guaranteed freedom of religion, safety of the Roman Catholic clergy, civil servants and residents, keeping all privileges of the city and its university, and exchange of prisoners of war.