In 1788, Koča's frontier rebellion saw most of Šumadija occupied by the Serbian Free Corps, a volunteer militia loyal to the Austrians. Belgrade was besieged by Austrian forces in late 1789, occupied until 1791 when it was handed back to the Caliphate after concluding peace.
In 1788, Koča's frontier rebellion caused most of Šumadija to be controlled by the Serbian Free Corps, a militia supporting the Austrians. Belgrade was besieged by Austrian forces in late 1789 and remained occupied until 1791 when it returned to the Caliphate after peace.