In June 814 al-Abbas was appointed as governor of Egypt by al-Ma'mun, and he deputized his son Abdallah to take control of that province in his name. Abdallah quickly developed poor relations with the local jund, however, and after less than three months in office he was overthrown by an army revolt, while the ex-governor al-Muttalib ibn Abdallah al-Khuza'i was freed from prison and restored to power in his place.[7] Al-Abbas then responded by setting out for Egypt in an effort to intervene, but in February 815 he suddenly died at Bilbays, allegedly due to poisoning.[8]