In November 1820, he was named "Mora valisi", governor of the Morea Eyalet (the Peloponnese), with seat at Tripoli and "serasker" of the expedition against the rebellious Ali Pasha of Yanina. Before he left for Yanina, however, he was disturbed by rumours of a possible revolt among the Greeks of the Morea. His fears were allayed, however, when an assembly of Greek notables visited him on 8 November 1820 in Tripoli. Thus, on 6 January 1821, he left Tripoli for the north, leaving behind his treasury and his harem, while his deputy ("kaimakam") Mehmed Salih with a force of 1,000 Albanians remained to maintain order. However, only a few months later, while the Ottoman armies were besieging Yanina, the first uprisings of the Greek War of Independence took place.