# Ubaydallah ibn al-Sari

Ubaydallah ibn al-Sari (Arabic: عبيد الله بن السري) (died 865) was a governor of Egypt from 822 until 826. A son of al-Sari ibn al-Hakam, he was the third and last member of his family to autonomously rule over parts of Egypt during the troubled period following the great Abbasid civil war, and his surrender to Abdallah ibn Tahir in 826 marked the re-imposition of firm Abbasid control over the province for the first time since the outbreak of the conflict.

## Career

Ubaydallah was the son of al-Sari ibn al-Hakam, a Zutt member of the abna al-dawla, who had served as governor of Egypt in 816 and 817–820. Following the death of al-Sari in 820 Ubaydallah was appointed as prefect of police by his brother Abu Nasr, who had assumed the governorship, and upon Abu Nasr's own death in 822 he was himself acclaimed as his successor and given the oath of allegiance by the army. As a result of the division of Egypt under his father, however, his effective jurisdiction extended only to the capital Fustat and the southern part of the province, while much of Lower Egypt was in the hands of Ali ibn Abd al-Aziz al-Jarawi and Andalusian raiders.
Ubaydallah's rule over Egypt was initially contested by the Abbasid central government, which was still attempting to recover from the loss of authority it had incurred due to the civil war between the rival caliphs al-Amin and al-Ma'mun in 811–813, and shortly after his accession he was forced to deal with an invasion by Khalid ibn Yazid al-Shaybani, who had been delegated by al-Ma'mun to seize command of the country. Ubaydallah decided to offer resistance, and even with Ibn al-Jarawi providing assistance to Khalid he was able to win a battle against the latter on the outskirts of Fustat. Over the next few months the two sides fought several engagements; at length Ibn al-Jarawi withdrew his support and Khalid's position became seriously degraded, and by early 823 he was finally defeated and captured by Ubaydallah. His hold over Fustat now secure, Ubaydallah returned to the capital and afterwards released Khalid, allowing him to withdraw from the province to Mecca.
Following the end of Khalid's campaign, Ubaydallah became focused on dealing with his rival Ibn al-Jarawi, who continued to hold Lower Egypt. Although al-Ma'mun had written to both men granting them the right to collect the land taxes in the areas they respectively controlled, the two sides quickly found an excuse to come into conflict with each other and war soon broke out. Over the course of the next several years Ubaydallah's forces invaded Lower Egypt, pillaging Mahallat al-Sharqiyun and repeatedly occupying Tinnis and Damietta, and Ibn al-Jarawi was at times forced to seek refuge in the towns along the northern Sinai. Despite this Ubaydallah was unable to fully defeat his opponent, and the latter was able to make a return to the region in mid-825.
Ubaydallah's governorship came to an end in 826, when al-Ma'mun again sought to achieve greater effective control over the country by dispatching to it the Tahirid general Abdallah ibn Tahir. While Ibn al-Jarawi immediately offered his submission, Ubaydallah attempted to fight off Abdallah, but his forces were defeated and he eventually decided to seek a guarantee of safety instead. This was agreed to and Ubaydallah made his submission to Abdallah, who sent him off to Baghdad. Following this, he never returned to Egypt, but he remained in Iraq and eventually died in Samarra in 865.
The construction of the Al-Sayyida Nafisa Mosque is attributed to him.