The rise of nationalism in the Ottoman Empire is so fascinating.
@Nonosbah yes, the janissaries felt they weren't being compensated enough to be fighting so far from home when they were created for bodyguard duties. Not expeditionary law enforcement. So while the Sultan was fighting the French in Egypt. They took advantage of the situation as he wasn't paying as much attention to the Balkans.
@Nonosbah the second uprising was lead by Milos Obrenevic. When he won, Serbia became a semi-autonomous principality under his absolute rule. Many Serbs were dissatisfied because they felt they had just traded a Muslim Pasha for a Christian one. And in many ways this was absolutely true.