Siege of Baghdad in the strife of al-Musta'in and al-Mu'tazz

حصار بغداد في فتنة المستعين والمعتز

c. 865 CE · 251 AH – February 866 CE · 252 AH

Baghdad

In 251 Bugha al-Saghir and Wasif were killed at the hands of Bagir the Turk, and the affairs of the clients in Samarra were thrown into turmoil. Al-Musta'in fled to Baghdad, to Muhammad ibn Abd Allah ibn Tahir, who cut off supplies to the people of Samarra, forbidding anything to go up from Baghdad or down to it. Al-Musta'in ordered him to fortify Baghdad: a wall was raised from Bab al-Shammasiya to the Tuesday market and from Bab Qati'at Umm Ja'far to the palace of Humayd, trenches were dug round both walls on both sides, and shelters were built where horsemen could sit out heat and rain; the cost reached three hundred thousand dinars and thirty thousand dinars. At Bab al-Shammasiya five crushing engines were set across the road, plated with iron and tied with ropes, with a suspended gate released to crush whoever came beneath it; the inner gate had one catapult, the outer gate five large mangonels, the greatest called al-Ghadban, and six catapults faced toward Raqqat al-Shammasiya; at Bab al-Burdan there were eight catapults, four on each side, and four crushing engines; and the same was done at every gate of Baghdad on both the eastern and western sides 1. When the Turks and the Maghariba reached the gates of the City of Peace on the eastern side, the gates were shut in their faces and they were struck with arrows, mangonels and catapults; many fell on both sides and many were wounded, and this went on until the afternoon 2. The war between Baghdad's people and the Samarra army continued until al-Musta'in deposed himself; al-Mu'tazz was pledged allegiance on Friday, four days into Muharram 252. Al-Musta'in was moved to the palace of al-Hasan ibn Sahl at al-Mukharram, and his staff and ring were taken from him 3.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Era
The Early Abbasid Caliphate
Region
Levant & Iraq

In time

850860870880 c.
The Early Abbasid Caliphate · Abbasid Fragmentation

In space

Baghdad

Map: Natural Earth, public domain · places and route from the graph

Sides

al-Musta'in bi'llah's army

Commanders: al-Musta'in bi'llah

محمد بن عبد الله بن طاهر

Muhammad ibn Abd Allah ibn Tahir

Overview

In 251 AH Baghra al-Saghir and Wasif were killed at the hand of Bagir the Turk, and the affairs of the clients at Samarra fell into disorder. Al-Musta'in went to Baghdad to Muhammad ibn Abd Allah ibn Tahir. 1

Fortifying the city

Ibn Tahir cut off supplies to the people of Samarra. Al-Musta'in ordered him to fortify Baghdad, so he built the wall and dug trenches around the two walls on both sides. The expenditure reached three hundred thousand dinars and thirty thousand. 1

Siege engines of several kinds were set up at the gates of the city, among them a great catapult called al-Ghadban. 1

The fighting

When the Turks and the Maghariba came to the gates of the eastern side, they were shut in their faces and shot at with arrows and catapults. Many were killed on both sides and many wounded. 2

The end

The war between the people of Baghdad and the Samarra army lasted until al-Musta'in deposed himself, and al-Mu'tazz was given allegiance on Friday, the fourth of Muharram 252 AH. Al-Musta'in was taken to the palace of al-Hasan ibn Sahl at al-Makhram, and his staff and ring were taken from him. 3

Connections

Explore the connections

Had participant
al-Musta'in bi'llah· Muhammad ibn Abd Allah ibn Tahir· al-Mu'tazz bi-llah· Abu Ahmad al-Muwaffaq
Occurred at
Baghdad
During the reign of
al-Musta'in bi'llah· al-Mu'tazz bi-llah

People and things also explored

al-Musta'in bi'llah· Baghdad· Abu Ahmad Imprisons His Son Abu al-Abbas al-Mu'tadid· Al-Muwaffaq's three wishes: Abu Dawud settles at Basra, c. 272/885· Deposition of al-Musta'in and bay'a to al-Mu'tazz· Kharijite Rebellion of 866–896· Ghulam Khalil's trial of the Sufis in Baghdad· Al-Musta'in sent down to Wasit under Ahmad ibn Tulun's guard, 252/866

Sources

  1. Tarikh al-Rusul wa'l-Muluk — al-Tabari, part three (Maktabat Khayyat, Beirut) , p. 279-280
  2. Tarikh al-Rusul wa'l-Muluk — al-Tabari, part three (Maktabat Khayyat, Beirut) , p. 311
  3. Tarikh al-Rusul wa'l-Muluk — al-Tabari, part three (Maktabat Khayyat, Beirut) , p. 374
Cite this page

islam.museum contributors. “Siege of Baghdad in the strife of al-Musta'in and al-Mu'tazz”. islam.museum, https://islam.museum/en/event/siege-of-baghdad-251/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

al-Musta'in bi'llah

Abbasid caliph. Al-Tabari reports that Ibn Tahir resolved to depose him in 251; he was then deposed and killed in 252. According to al-Suyuti he was Ahmad ibn al-Mu'tasim, brother of al-Mutawakkil, whose mother was Mukhariq. When al-Muntasir died the commanders gathered and said, 'If you make any of al-Mutawakkil's sons caliph, not one of us will be left', so they pledged allegiance to Ahmad, who was twenty-eight. In 251, when Wasif and Bugha Baghr the Turk were killed, the Turks turned against him; he was called 'a caliph in a cage, who says what the two of them tell him, as the parrot does'. Afraid, he went down to Baghdad. They brought out al-Mu'tazz, pledged allegiance to him, and deposed him. Al-Mu'tazz sent an army against him, and the people of Baghdad prepared to fight; the clashes went on for months, killing increased and prices rose. He deposed himself at the beginning of 252 and was sent down to Wasit, held in custody for nine months. He was the first to introduce wide sleeves, about three spans across, and to make caps smaller. According to al-Mas'udi he knew well the days and reports of people and loved the accounts of the past. One anecdote: he told his boon-companion that he craved food; when a loaf, vinegar and salt were brought, on the second night he said he was hungry, and explained to him the difference between the two statements. He asked him to describe food, drink, perfume, women and horses. The best food, he answered, is what meets hunger with a taste that suits desire, and the most desirable woman is the one you leave unwillingly and return to besotted; so the caliph gave him two hundred dinars. According to al-Mas'udi he was taken down to the house of al-Hasan ibn Wahb in Baghdad, then to Wasit; Sa'id al-Hajib killed him near al-Qatul on Wednesday, six nights into Shawwal 252, aged thirty-five. Nine months and a day lay between his deposition and his killing. According to al-Mas'udi he was the first to introduce wide sleeves.