 Kraków was defended by the hetman Jan Zamoyski, and a general attack by the pro-Austrian forces was repelled on November 22.Many affluent burghers of German background participated directly in the defense against "the German enemies", while others donated funds for the city's defense.Several of them were ennobled as a result and admitted into the ranks of the szlachta.