سليم الثالث
In 1793 and 1796 Sultan Selim III proclaimed firmans which gave more rights to Serbs. Among other things, taxes were to be collected by the "obor-knez" (dukes); freedom of trade and religion were granted and there was peace. 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 Hadji Mustafa Pasha. Many of those janissaries were employed by or found refuge with Osman Pazvantoğlu, a renegade opponent of Sultan Selim III in the Sanjak of Vidin. Fearing the dissolution of the Janissary command in the Sanjak of Smederevo, Osman Pazvantoğlu launched a series of raids against Serbians without the permission of Sultan Selim III, causing much volatility and fear in the region. Pazvantoğlu was defeated in 1793 by the Serbs at the Battle of Kolari.