[4] Yazid rose to prominence as a lieutenant of the Turkish commander Itakh, and he served for a time as the chief of police (ṣāḥib al-shurṭa) of Samarra as the latter's deputy.
[1] His career appears to have survived Itakh's fall from power in 849,[5] and in 856 he was selected to govern Egypt on behalf of the Abbasid prince al-Muntasir,[4] who had been assigned the province as part of the caliph al-Mutawakkil's succession arrangements.
In 866 a revolt in the region of Alexandria was begun by one Jabir ibn al-Walid and enjoyed the support of the local Arabs, Christians and mawālī.
He had been given responsibility for Fustat and the Nile districts, but Alexandria and Barqa had been removed from the jurisdiction of the Egyptian government and were separately administered at the time.
[4] In addition, in accordance with the normal practice of the era, Yazid had control over the military and administration of the province, but not its fiscal affairs; these were delegated to a separate director of finance ('āmil).