Pedzisa mutsara unotevera: Kutonga kwaUbaydallah pamusoro peEgypt kwakatanga kupikiswa nehurumende yepakati yeAbbasid, iyo yakanga ichiri kuyedza kupora kubva pakurasikirwa kwesimba kwayakange yaita nekuda kwe
hondo yevagari vemo pakati pemakwikwi caliphs al-Amin na al-Ma'mun muna 811-813, uye achangopinda pachigaro akamanikidzwa kubata nekupinda naKhalid ibn Yazid al-Shaybani, uyo akange atumirwa na al-Ma'mun kutora kutonga kwenyika. Ubaydallah akafunga kuramba, uye kunyange naIbn al-Jarawi achipa rubatsiro kuna Khalid akakwanisa kukunda muhondo yekurwisa Khalid kumucheto kweFustat. Mumwedzi mishoma yakatevera mativi maviri akarwa hondo dzinoverengeka; pakupedzisira Ibn al-Jarawi akabvisa rutsigiro rwake uye chinzvimbo chaKhalid chakaderedzwa zvakanyanya, uye kutanga kwa823 akazokundwa ndokutorwa naUbaydallah. Kubata kwake Fustat zvino kwakachengeteka, Ubaydallah akadzokera kuguta guru uye gare gare akasunungura Khalid, achimubvumira kuti abve mudunhu kuenda kuMecca.