 Furthermore, works on the fortifications were initiated under city engineer Izydor Affaita, and Krzysztof Mieroszewski of the local nobility.To cover the cost of the works, queen Marie Louise Gonzaga handed over some of her jewelry.On August 27, Bishop of Kraków Piotr Gembicki urged residents to pledge allegiance to the king and to defend the city.