Nevertheless, its army, thoroughly reorganized by Dumouriez, maintained the fight. 1771 brought further defeats, with the defeat at Lanckorona on 21 May and Stałowicze at 23 October. The final battle of this war was the siege of Jasna Góra, which fell on 13 August 1772. The regiments of the Bar Confederation, whose executive board had been forced to leave Austria (which previously supported them) after that country joined the Prusso-Russian alliance, did not lay down their arms. Many fortresses in their command held out as long as possible; Wawel Castle in Kraków fell only on 28 April; Tyniec fortress held until 13 July 1772; Częstochowa, commanded by Casimir Pulaski, held until 18 August. Overall, around 100,000 nobles fought 500 engagements between 1768 and 1772. Perhaps the last stronghold of the confederates was in the monastery in Zagórz, which fell only on 28 November 1772. In the end, the Bar Confederation was defeated, with its members either fleeing abroad or being deported to Siberia, Volga region, Urals by the Russians.