The ober-knez was the senior chief and responsible for his district's people and was their spokesman (intermediary) in direct relations with the Pasha, though usually through the sipahi (elite cavalry), and was in charge of the transfer of taxes levied on the villages.Selim III also decreed that some unpopular janissaries were to leave the Belgrade Pashaluk as he saw them as a threat to the central authority of Hadži Mustafa Pasha.[2] In the summer of 1797 the sultan appointed Mustafa Pasha on position of beglerbeg of Rumelia Eyalet and he left Serbia for Plovdiv to fight against the Vidin rebels of Pazvantoğlu.[5][6] By 1799 the janissary corps had returned, as they were pardoned by Sultan's decree, and they immediately suspended the Serbian autonomy and drastically increased taxes, enforcing martial law in Serbia.Pred sam Božić stigoše u pomoć valjevski Srbi i sa njihovom pomoću turska gradska posada odbi napadače i očisti grad.