 On 2 March 1804, the Serbian army led by Tanasko surrounded the city, demanding the surrender of Sali-aga.The Ottomans refused and prepared for battle, waiting for Kučuk Alija from Belgrade.Tanasko commanded the operation.