Ubayd Allah's father, Yahya, was a
Khurasani from
Marw in the service of
al-Hasan ibn Sahl, the vizier to Caliph
al-Ma'mun (). His career culminated under Caliph
al-Mutawakkil () as head of the
dīwān al-kharāj and director of the tribunal of
maẓālim ("grievances"). Thus, Ubayd Allah enjoyed the favour of al-Mutawakkil, who appointed him as his private secretary. In ca. 851, the Caliph appointed Ubayd Allah to the vizierate, which had been vacant for some time, and granted his protégé significant powers, in particular as regards the appointment of officials, thereby establishing his control over the administrative apparatus. In addition, Ubayd Allah also served as tutor to one of al-Mutawakkil's sons. Throughout the reign, Ubayd Allah played a major role and was, along with
al-Fath ibn Khaqan (no relation), one of the main influences on the Caliph, particularly as a driving force behind al-Mutawakkil's anti-
Alid policies. During his tenure, he is known to have promoted the career of
Ahmad ibn Tulun, the future founder of the
Tulunid dynasty. With the aid of his aides
al-Hasan ibn Makhlad and Musa ibn Abd al-Malik, he was instrumental in the downfall of the head of the
dīwān al-tawqīʿ (a bureau responsible for drafting edicts and registering government officials),
Najah ibn Salamah, in early 860. Najah and his sons were imprisoned and their possessions confiscated, while Najah died in prison on 18 February 860. Along with al-Fath ibn Khaqan, Ubayd Allah supported al-Mutawakkil's intention to entrust his son
al-Mu'tazz as his successor, over
al-Muntasir, who was backed by the Turkish and
Maghariba guard troops. On the night of 10 December 861, when the Turks—certainly with the tacit approval, if not instigation, of al-Muntasir—murdered al-Mutawwakil and al-Fath ibn Khaqan, Ubayd Allah was saved because he was still working late at his office. After hearing the commotion and learning of what had transpired, Ubayd Allah and his entourage escaped the palace—they had to break down the locked doors to do so—and, reaching the banks of the
Tigris, took boats to the downriver residence of al-Mu'tazz. They were too late, however, as al-Mu'tazz had been duped into going to the palace and acknowledging his brother as caliph. According to one report in
al-Tabari, Ubayd Allah and al-Fath ibn Khaqan had been forewarned of the plot by a Turkish woman, but had disregarded it, confident that no-one would dare carry it out. Following the murder of al-Mutawakkil, Ubayd Allah withdrew from politics, and in 862–867 was even exiled to
Barqa. On the accession of
al-Mu'tamid () in June 870, he was re-appointed vizier, keeping the post until his death. According to
Ibn al-Jawzi, he died on 5 August 877 from a blow received during a
polo match. The famous historian al-Tabari was tutor to Ubayd Allah's sons, reportedly at ten
gold dinars a month. One of his sons,
Muhammad, also became vizier in 912–913, and was an enemy of
Ali ibn al-Furat. Muhammad's son
Abdallah also served briefly as vizier in 924–925. Another son,
Musa, became a scholar. ==References==