# Uqaylid dynasty

Historical Arab states and dynasties :
Ancient Arab states Kingdom of Qedar 800 BC–300 BC Kingdom of Lihyan 600 BC–100 BC Nabataean Kingdom 400 BC–106 AD Kingdom of Osroene 132 BC–244 AD Emesene Dynasty 64 BC–300s AD Kingdom of Hatra 100s–241 AD Tanukhids 196–1100 AD Ghassanids 220–638 AD Salihids 300s–500s AD Lakhmids 300s–602 AD Kingdom of Kinda 450 AD–550 AD :
Arab empires and caliphates Rashidun 632–661 Umayyads 661–750 Abbasids 750–1258 Fatimids 909–1171 :
Eastern dynasties Emirate of Armenia 654–884 Emirate of Tbilisi 736–1122 Emirate of Crete 824–961 Dulafids 840–897 Habbarids 854–1011 Kaysites 860–964 Shirvanshah 861–1538 Alavids 864–928 Hashimids 869–1075 Hamdanids 890–1004 Rawadids 955–1071 Mazyadids 961–1150 Jarrahids 970–1107 Uqaylids 990–1096 Numayrids 990–1081 Mirdasids 1024–1080 Munqidhites 1025–1157 Ma'nids 1517–1697 Turabays 1480–1677 Harfushs 1517–1865 Shihabs 1697–1842 :
Western dynasties and caliphates Salihids710–1019 Fihrid Emirate745-757 Umayyad state of Córdoba756–1031 Muhallabids771–793 Idrisids788–974 Aghlabids800–909 Sulaymanids814–922 Muslim Sicily831–1091 Kanzids1004–1412 Bakrids1012–1051 Tujibids1013–1039 Amirids1020–1086 Abbadids1023–1091 Yahsubids1023–1062 Hammudids1026–1057 Muzaynids1027–1063 Jawharids1031–1091 Hudids1039–1110 Sumadihids1041–1091 Tahirids1049–1078 Nasrids1230–1492 Saadids1554–1659 Senussids1837–1969 :
Arabian Peninsula Imamate of Oman 751–1970 Ziyadids 819–1138 Yufirids 847–997 Ukhaidhirds 865–1066 Rassids 897–1962 Qarmatians 899–1077 Wajihids 926–965 Sharifate of Mecca 968–1925 Sulayhids 1047–1138 Sulaymanids 1063–1174 Uyunids 1076–1253 Zurayids 1083–1174 Nabhanids 1154–1624 Mahdids 1159–1174 Rasulids 1229–1454 Usfurids 1253–1320 Jarwanids 1305–1487 Kathirids 1395–1967 Tahirids 1454–1526 Jabrids 1463–1521 Qasimids 1597–1872 Ya'arubids 1624–1742 Upper Yafa 1800–1967 Muscat and Oman 1820–1970 Rashidids 1836–1921 Qu'aitids 1858–1967 Emirate of Beihan 1903–1967 Idrisids 1906–1934 Mutawakkilite Kingdom 1926–1970 :
East Africa Makhzumi dynasty (Shewa) 896–1279 Nabahani dynasty (Pate Island) 1203–1894 Mahdali dynasty (Kilwa) 1277–1495 Mazrui dynasty (Mombasa) 1746–1828 Sultanate of Zanzibar 1856–1964 Nabahani dynasty (Wituland) 1858–1895 Tippu Tip's State 1860–1887 :
Current monarchies 'Alawis (Morocco) 1631–present Al Qasimi (Ras al Khaymah) 1727–present Al Qasimi (Sharjah) 1727–present Al Saud (Saudi Arabia) 1744–present Al Said (Oman) 1749–present Al Sabah (Kuwait) 1752–present Al Nahyan (Abu Dhabi) 1761–present Al Mualla (Umm al-Quwain) 1775–present Al Khalifa (Bahrain) 1783–present Al Nuaimi (Ajman) 1810–present Al Maktoum (Dubai) 1833–present Al Thani (Qatar) 1868–present Al Sharqi (Fujairah) 1900–present Hashemites (Jordan) 1921–present :
vte :
The Uqaylid dynasty (Arabic: العقيليون, romanized: al-ʿUqayliyyūn) was a Shia Arab dynasty with several lines that ruled in various parts of Al-Jazira, northern Syria and Iraq in the late tenth and eleventh centuries. The main line, centered in Mosul, ruled from 990 to 1096.

## History
### Rise

The Uqaylids were descended from the Banu Uqayl and were Shi'a. They first came to power in Diyar Bakr when they were granted land there by the Buwayhids, who hoped that they would serve as a buffer against the Kurd Bādh ibn Dustak. Soon afterwards the 'Uqaylids forged an alliance with the Hamdanids, who had been expelled from Mosul by the Buwayhids in 979. Together the two of them moved against the Buyids and Mosul and the Diyar Rabi'a was occupied in 989. The Uqaylid leader, Muhammad ibn al-Musayyab, then fought against Bādh, which eventually resulted in the death of the Kurdish rebel. Following this, Muhammad turned against the Hamdanids and defeating them as well. He also forced the Buwayhid governor of Mosul to grant him half of his dependencies.

### Uqaylids of Mosul

Muhammad ibn al-Musayyab died in 996. He was succeeded by his brother al-Muqallad, who in that same year marched on Mosul, forcing its Buwayhid governor to flee. From there the Uqaylids advanced into Iraq; they succeeded in overrunning much of the country and even raiding Baghdad. Eventually the Buwayhid amir Baha' al-Dawla came to terms with al-Muqallad, whereby the Uqaylid was invested by the Abbasid caliph with the rule of Mosul, Kufa and Jami'yan. He was also given the title of "Husam al-Dawla". The treaty made al-Muqallad nominally subservient to the Buwayhids, but in effect he was independent, refusing to pay the tribute that he owed.
Despite the treaty, al-Muqallad still desired to take Baghdad, and might have done so had he not been assassinated by one of his Turkish slaves in 1001. This marked the beginning of the long reign of al-Muqallad's son, Qirwash. In 1002 Qirwash raided Buwayhid territory, prompting Baha' al-Dawla's governor of Baghdad to undertake an expedition against the Uqaylids. Defeated at first, he eventually managed gain a victory over them near Kufa, but at this point was removed from his post as governor, preventing him from following up on this success. In 1005 Qirwash was confirmed in all of his possessions by the caliph, who gave him the title "Mu'tamid al-Dawla".
Qirwash's major problem during the second half of his reign was finding a way to control the Oghuz Turks who were coming in from Iran. The Oghuz even managed to occupy and sack Mosul in 1044, although Qirwash was able to expel them with the support of the Mazyadids. In 1050 Qirwash was removed from power by his brother Baraka ("Za'im al-Dawla"), who reigned until 1052 when he died. Baraka's son Quraysh ("Alam al-Din") succeeded him and ruled for the next nine years. During his reign he acknowledged the supremacy of the Seljuk Empire, although he later came into conflict with them and was temporarily expelled from Mosul. He accompanied the Turk Basasiri when the latter took Baghdad at the end of 1058, but the Seljuks retook the city in the next year.
Quraysh died in 1061 and was followed by his son Muslim ("Sharaf al-Dawla"). Sharaf al-Dawla was a just ruler; the Uqaylid domains were relatively stable for most of his reign. He furthermore gained Aleppo from the Mirdasids in 1080 when its inhabitants offered to hand the city over to him in the hopes that he could protect from Seljuk raids, and he took Harran from the Numayrids in the following year. Soon, however, he ran into trouble with the Seljuks himself. He fought against Sultan Malik Shah's forces and was defeated, but he was pardoned and reinstated. In 1085 he was killed fighting the Seljuks of Süleyman b. Qutulmush. Following Sharaf al-Dawla's death, his brother Ibrahim, who had previously been imprisoned, was released and declared as his successor. Süleyman meanwhile had been killed in the battle of Ain Salm by Tutush, the brother of Malik Shah and ruler of Damascus, and Malik Shah himself took Aleppo in 1086 and appointed Aksungur as governor of the city.
In 1089 or 1090 Ibrahim was summoned to the court of Malik Shah. When he arrived he was imprisoned and was kept close to Malik Shah's side. Mosul during this time was managed by the Seljuk governor Fakhr al-Dawla ibn Jahir. When Malik Shah died in 1092 a fight between Sharaf al-Dawla's sons Ali and Muhammad ensued. Ali was brought by his mother Safiyya to Mosul, but Muhammad attempted to take the city for himself. In a battle at Mosul he was defeated and forced to flee. Ibrahim, meanwhile, had been released by Malik Shah's widow so he returned to Mosul, and eventually convinced Safiyya to give up the city to him.
Ibrahim managed to keep his renewed power for only a short time. The emir of Damascus, Tutush, demanded that he recognize him as sultan in the khutba and allow him passage through his territory. Ibrahim refused, prompting Tutush to move his army against him. The two sides met outside Mosul on 2 April 1093, and in the ensuing battle Ibrahim and his uncle were killed in a bloody battle. Tutush then installed Ali and his mother Safiyya as his representatives in Mosul.
Muhammad b. Sharaf al-Dawla continued to attempt gain Mosul. He recruited the Turkish commander Kerbogha and his brother Tuntash, but Kerbogha imprisoned him. He then attempted to take Mosul from Ali but failed. Kerbogha then executed Muhammad and tried again to take Mosul. As the siege continued, Ali decided to flee to the Mazyadids. Kerbogha eventually gained control of the city in late 1096 and became its amir, ending 'Uqaylid rule there.

## Other Uqaylids

Several other Uqaylid lines were established in various areas, including Jazirat ibn Umar, Takrit, Hit, and Ukbara (whose ruler, Gharib ibn Muhammad once gave refuge to the Buwayhid amir Jalal al-Daula when he found it necessary to leave Baghdad). Some of these lines were still extant after the overthrow of the Uqaylids in Mosul, with one branch in Raqqa and Qal'at Ja'bar lasting until 1169 when it was ended by the Zengids.

## List of Uqaylid rulers

* Muhammad ibn al-Musayyab (c. 990–996)
* al-Muqallad ibn al-Musayyab, brother of Muhammad, known as Husam al-Dawla (996–1001)
* Qirwash ibn al-Muqallad, known as Mu'tamid al-Dawla (1001–1050)
* Baraka ibn al-Muqallad, brother of Qirwash, known as Za'im al-Dawla (1050–1052)
* Quraysh ibn Baraka, known as Alam al-Din (1052–1061)
* Muslim ibn Quraysh, known as Sharaf al-Dawla (ruled 1061–1085)
* Ibrahim ibn Quraysh, brother of Muslim (1085–1089/90 and 1092–1093)
* Ali ibn Muslim (1089/90–1092 and 1093–1096)