For this, he was made governor of Egypt Eyalet (province),[1] in which position he was charged with assisting Hüseyin Pasha in the killing or imprisoning the surviving leaders of the Mamluks.
This led to rioting that drove him from Cairo to Damietta, where he was ultimately captured by a combined Mamluk-Albanian army (see Muhammad Ali's seizure of power).
He was then appointed governor of the Eyalet of Trabzon twice, during which time he conducted for the Black Sea region of Turkey the struggle the central Ottoman state was waging against local feudal rulers (Derebeys).
In 1826, Hüsrev Pasha played vital roles both in the Auspicious Incident (the annihilation of the Janissary Corps in 1826) and in the formation of the new "Mansure Army", modeled after those of the European Powers.
[6] Hüsrev Pasha adopted at early ages up to one hundred children, sometimes including slaves bought at market, who, after an attentive education, later became his protégés and rose to important positions in the state structure, the most notable of these being Ibrahim Edhem Pasha, a child from Chios bought in an İzmir slave market in 1822 after the Chios massacre.
[citation needed] Hüsrev Pasha was also instrumental for the near-abandonment of the turban and the adoption of the fez as a universal headgear for Muslim men of the Ottoman Empire (excluding the religious classes) under Sultan Mahmud II.