When the First Serbian Uprising broke out in 1804–05, after the assassination of Hadji Mustafa Pasha of Belgrade, turmoil had become evident throughout the Sanjak of Smederevo; thousands of Muslim refugees from the Sanjak began to pour into the Sanjak of Zvornik. In 1805 the Serbian rebels led by Luka Lazarević had begun their assault on Zvornik itself prompting the Ottoman Grand Vizier to mobilize his army in the Bosnia Eyalet commanded by Sulejman-paša Skopljak and Mehmed-"bey" Kulenović.