In April 868, Azjur himself became governor of Egypt following the death of Ahmad. During his administration he sent the rebel Jabir, who had been imprisoned in al-Fustat by Muzahim, to Iraq, and also defeated an 'Alid rebellion that broke out in Upper Egypt. He remained governor until August or September 868, after which he was replaced by Ahmad ibn Tulun.[4] Ibn Taghribirdi claims that he then returned to Iraq, where he was received by the caliph and became one of his officers (quwwad);[5] al-Kindi, on the other hand, reports that he left Egypt to go on the Hajj.[6]