First Qarmatian invasion of Egypt

First Qarmatian invasion of Egypt
DateAugust–December 971
Location
Southern Levant and Lower Egypt
Result Fatimid victory in Egypt; Qarmatian victory in the Levant
Belligerents
Qarmatians of Bahrayn
Banu Uqayl
Banu Tayy
Egyptian rebels
Fatimid Caliphate
Commanders and leaders

The First Qarmatian invasion of Egypt took place in 971, when the Qarmatians of Bahrayn unsuccessfully invaded Egypt, which had recently been conquered by the Fatimid Caliphate. Both the Qarmatians and the Fatimids were offshoots of the Isma'ili sect of Shi'a Islam, but belonged to different and rival branches. Following the takeover of Egypt under the general Jawhar in 969, the Fatimids began their expansion into the Levant. There they confronted the Qarmatians, who in previous years had raided and extracted tribute from the regional potentates. In order to stop the Fatimid advance, the Qarmatians, led by al-Hasan al-A'sam, joined in a league with other regional powers, including the Sunni Abbasid caliph in Baghdad. After defeating and killing the Fatimid commander Ja'far ibn Fallah at Damascus in August 971, the Qarmatians and their Bedouin allies marched south. A Fatimid relief army marching to assist Ibn Fallah withdrew to Jaffa where it was blockaded, while the main Qarmatian army invaded Egypt. The diversion of the Qarmatian forces into the Nile Delta in support of local revolts gave Jawhar the time to mobilize his remaining forces and prepare defences in the form of a trench and wall at Ayn Shams, just north of Cairo, then still under construction as the new Fatimid capital. At a battle north of the city on 22 and 24 December, Jawhar defeated the Qarmatians and forced them to withdraw from Egypt in disorder. After the Qarmatians quarreled with their Bedouin allies, the Fatimids were able to reoccupy Ramla, but this was short-lived; by the summer of 972, Palestine was again under Qarmatian control. On the other hand, the rebellions in Egypt were suppressed, and the Fatimid caliph al-Mu'izz was able to move his capital from Ifriqiya to Cairo in June 973. A second invasion followed in 974, which was also defeated, ending the Qarmatian threat for good, and paving the way for the Fatimid expansion into the Levant.

Background

In 899, a split occurred in the clandestine Isma'ili movement, directed by the family of the future first Fatimid caliph, Abdallah al-Mahdi. Al-Mahdi claimed to be not only a trustee and representative of the hidden imam, but the true imam in person. Those that rejected this claim became known as the "Qarmatians".[1][2] Whether out of genuine conviction or political expediency, the missionary Abu Sa'id al-Jannabi, who had established his rule in much of Bahrayn, sided with the latter faction.[3][4] Allied with the local Bedouin tribes of the Banu Kilab and Banu Uqayl, as well as with the Persian Gulf merchants, Abu Sa'id was able to capture the region's capital, Hajr, and in 900 cemented his independence by defeating an Abbasid army sent to recover control of Bahrayn.[5][6]

The two Isma'ili branches developed in separate ways after the 899 schism. The Fatimid Caliphate was established in 909 in Ifriqiya. After failing to capture Egypt early on and expand into the central lands of the Islamic world held by the Abbasid Caliphate, the Fatimids focused their energy in consolidating their hold on the Maghreb and fighting against the Byzantine Empire on Sicily.[7] At the same time the Qarmatians, after a period of initially peaceful relations with the Abbasids, and driven by millennialist expectations of Abu Sa'id's younger son, Abu Tahir al-Jannabi, launched a series of attacks in the 920s that culminated in the Sack of Mecca in 930. As the expected mahdi failed to come, the Qarmatians returned to more peaceful relations after 939, sustained through payments of money to abstain from attacking the Hajj caravans.[8] As the dominant power in the eastern and northern Arabian peninsula, the Qarmatians even began offering their services as—well paid—guards of the Hajj caravans;[9] when the Bedouin tribe of the Banu Sulaym raided the caravans in 966, the Qarmatians forced them to return their plunder.[10] Another wave of Qarmatian raids was launched in the 960s, directed against the Ikhshidid holdings in the Levant. Frequently allied with the perennially restless Bedouin tribes of the Syrian Desert, the Qarmatians raided the caravans of merchants and Hajj pilgrims alike, with the Ikhshidids unable to counter their attacks.[11][12] In 968, the Qarmatians under al-Hasan al-A'sam even captured Damascus and Ramla, withdrawing only after they secured a ransom and an annual tribute of 300,000 gold dinars from the Ikhshidid governor.[10][13][14] The Qarmatian attacks undermined the Ikhshidid regime,[15] and effectively severed the overland routes from Egypt and western Arabia to Iraq,[16] helping pave the way for the swift and almost bloodless takeover of Egypt from the Ikhshidids by the Fatimid general Jawhar in 969.[17]

Medieval historians, as well as some of the first modern scholars to examine Isma'ili history, saw a collusion between the Fatimid enterprise in the west and the Qarmatian attacks in the east, but more recent scholarship has disproven this.[18][19] The Fatimid caliph al-Mu'izz (r. 953–975) made several attempts to get the scattered Qarmatian communities to recognize his leadership, but although these efforts were successful in some areas, the Qarmatians of Bahrayn persistently refused to do reconcile themselves to Fatimid claims.[20] In reality, the Fatimid conquest of Egypt and the subsequent advance into Syria, which led to the defeat of the last Ikhshidid remnants at the hands of the Fatimid general Ja'far ibn Fallah in April 970,[10][13] brought the two Isma'ili powers on a collision course. The Fatimid expansion meant the end of the annual tribute paid the Qarmatians by the Ikhshidids, and the Fatimids' declared intention to restore the safety of the Hajj routes threatened to put an end to the Qarmatians' extortion of the Hajj caravans as well.[21][22] In addition, the Fatimid hold over Syria was still shaky, and they enjoyed little local support, especially in Damascus, where the populace had resisted, despite being abandoned by their Ikhshidid governor, and the exactions of the Fatimids' Kutama soldiery after the city's fall had further exacerbated the locals' hatred.[23] The Damascene popular leader Muhammad ibn Asuda even fled to Bahrayn, accompanied by the chieftain of the powerful Bedouin tribe of Banu Uqayl, Zalim ibn Mawhub, to seek Qarmatian support.[24]

Anti-Fatimid coalition and the fall of Syria

Map of Early Islamic Syria (Levant) and its provinces in the 9th–10th centuries

As a result, the Qarmatians decided to make common cause with the other regional powers against the Fatimids: Through the mediation of the Abbasid caliph al-Muti', the Qarmatians became the nucleus of a broad anti-Fatimid alliance, comprising the Hamdanid ruler of Mosul, Abu Taghlib, the Buyid ruler Izz al-Dawla, the Bedouin tribes of Banu Kilab and Banu Uqayl, and remnants of the Ikhshidid troops.[22][25][26] The Buiyds promised the Qarmatians the sum of 1,400,000 silver dirhams, as well as a thousand complete sets of armour and weaponry for their warriors.[10]

The Qarmatian army set out from Bahrayn in 971, moving to Kufa, Rahba, and Palmyra, gathering allies, arms and money at each stop along the way. As they approached Damascus, Ibn Fallah chose to confront the allies in open battle in the desert. On 31 August 971, the Qarmatians outflanked the Fatimid army and destroyed it, with Ibn Fallah falling on the battlefield.[26][27] Upon receiving news of the disaster, Fatimid reinforcements, sent by Jawhar and commanded by Sa'adat ibn Hayyan, withdrew to the coastal town of Jaffa where they fortified themselves.[28] Al-As'am entered Damascus, where he read the Friday sermon on behalf of al-Muti', denouncing the Fatimids as impostors and their claims to Alid descent as false. His forces then marched south, capturing and plundering the undefended Ramla on 5 September. Across Syria, the Friday prayer was once more read on behalf of the Abbasid caliph.[29][30]

Lacking siege engines, al-A'sam chose to bypass Jaffa, but left a strong force to blockade Ibn Hayyan's 11,000 men under the overall command of Alid Akhu Muslim, and with the Qarmatian commander Abu'l-Munaja Abdallah ibn Ali and the Uqaylid chieftain Zalim ibn Mawhub.[28][31] The blockade of Jaffa was joined on the sea side by Qarmatian warships, but they proved no match for the Fatimid navy, which threw flasks of oil on the Qarmatian ships' decks, ignited them, and sunk the ships. While the blockade continued on land, Ibn Hayyan's men could at least be resupplied by sea.[30]

Qarmatian invasion of Egypt

The fall of Damascus and then Ramla made the threat of a Qarmatian invasion of Egypt imminent. Jawhar had lost much of his army in battle or blockaded in Jaffa, and disposed of only a fraction of his original force that had set out to conquer Egypt and the reinforcements he had received in the meantime.[28][32] He was also afraid of treachery; pamphlets insulting him were discovered at the Mosque of Amr in Fustat, the old capital of Egypt.[28][29][32] Jawhar especially distrusted the machinations of the former Ikhshidid vizier, Ja'far ibn al-Furat, and ordered him placed under surveillance and moved to the new capital, Cairo, that Jawhar had been constructing north of Fustat.[28] To protect the newly built city, whose walls were not yet finished, he ordered the excavation of a broad trench just to its north, at the plain of Ayn Shams, between the Nile River and the Muqattam Hills, a distance of c. 10 kilometres (6.2 mi). A wall was erected behind the trench with only two gates, a large and a small one, which were equipped with iron doors brought from the gardens of the Ikhshidid regent Kafur, whose site was now occupied by Cairo.[28][29][33] Urgent requests for the dispatch of reinforcements were sent to al-Mu'izz in Ifriqiya.[34]

First Qarmatian invasion of Egypt is located in Lower Egypt
Cairo/Fustat
Cairo/Fustat
Farama
Farama
Tinnis
Tinnis
Qulzum
Qulzum
Sites of the campaign in Lower Egypt

A month after his capture of Damascus, al-A'sam's forces entered Egypt, capturing Qulzum (modern Suez). Instead of taking the direct route for Fustat, however, the Qarmatians turned west, to the Nile Delta. In October, the Qarmatians captured al-Farama (Pelusium) and proceeded to occupy much of the eastern Delta. The region—which had rebelled against harsh taxation in the previous year[35]—erupted in revolt, and an anti-Fatimid uprising broke out in Tinnis. Revolts also broke out in Upper Egypt, and everywhere pro-Abbasid black banners were raised by the rebels.[29][36][32] Jawhar took advantage of the Qarmatians' diversion into the Delta to finish his fortifications at Ayn Shams, to raise troops from among the disbanded Ikhshidid soldiery, and to distribute arms to the officials and other civilians who had followed his army from Ifriqiya.[34] The reliability of Jawhar's improvised army was dubious; 900 soldiers were arrested or imprisoned on disciplinary infractions alone.[37] In an effort to improve discipline and cow unrest in Fustat, public executions of soldiers who deserted were undertaken, as well as a parade of the heads of executed Banu Hilal chieftains who had rebelled against the Fatimids. A Fatimid army under Yaruq recaptured Tinnis in late October or early November, but within a few weeks the revolt spread across the Delta, forcing Yaruq to retreat to Fustat, the Qarmatians at his heels. On Friday, 22 December 971, the Qarmatians arrived before Jawhar's fortifications at Ayn Shams.[34]

The Qarmatians immediately launched an attack on the trench on 22 December, but failed, with heavy losses on both sides. After resting on Saturday, the attack was repeated on Sunday, 24 December, with the Qarmatians slowly gaining the upper hand. As the sun was setting behind the Fatimid lines, Jawhar opened the large gate and launched a counterattack on the Qarmatian right with his last reserves, Black African slave-soldiers and Berber infantry. The Qarmatian right wing, likely held by the more unreliable Bedouin, disintegrated, cutting their army off from the Nile and forcing them into a general and disorderly retreat.[38] The Qarmatians' Bedouin allies of Banu Uqayl and Banu Tayy profited from the confusion to plunder their baggage train, while Jawhar's men seized and plundered the Qarmatian camp, seizing al-A'sam's treasure and library.[29]

Two days after the Qarmatian defeat, the long-awaited reinforcements from Ifriqiya arrived in Fustat under Ibn Ammar. Fearing a ruse, Jawhar did not pursue the retreating Qarmatians, but ordered a bounty on their heads, whereupon many dispersed Qarmatians were killed by the locals.[37][39] Shocked by their first major defeat in open battle, the Qarmatians were not able to regroup and recover their cohesion until they had reached Palestine.[39]

Aftermath

The Qarmatian retreat opened the way for the restoration of Fatimid control in Egypt. The revolt in the Delta persisted for a few years, especially as Jawhar could not spare the necessary resources to confront it. It was only in the summer of 972 that troops under Ibn Ammar began a brutal suppression campaign. The Qarmatians sent a fleet to assist Tinnis, but in September/October 972 (or 973) seven Qarmatian ships and 500 crew were captured by the Fatimid forces. Tinnis capitulated soon after.[39][40] In Upper Egypt, the Kilabi leader Abd al-Aziz ibn Ibrahim, formerly a Fatimid ally, maintained his revolt in the name of the Abbasid caliph. An expedition under the Nubian commander Bishara was sent against him, and he was captured and brought to Cairo in a cage. He died there in February 973, his corpse being publicly flayed afterwards.[39] Following the repulsion of the Qarmatian attack, and despite the continuing unrest, Jawhar judged Egypt to be sufficiently pacified to invite his master, al-Mu'izz, to come to Egypt.[41] The Fatimid caliph and his court left Ifriqiya in late 972 and arrived in Cairo on 19 June 973, with al-Mu'izz relieving Jawhar from his post as viceroy and taking up the reins of Egypt himself.[42][43]

The situation was different in Palestine. A Fatimid army under the command of Ibrahim ibn Ja'far ibn Fallah managed to break the blockade of Jaffa, aided by dissent in the opposing coalition.[44] The Qarmatian Abu'l-Munaja and the Uqaylid Ibn Mawhub quarreled over the division of the land tax proceeds. Abu'l-Munaja, who claimed the entire revenue for himself, imprisoned Ibn Mawhub, but the latter managed to escape, whereupon the Banu Uqayl withdrew from the coalition. Left weakened against the Fatimids, the Qarmatians withdrew towards Damascus.[31] Ramla was briefly reoccupied by Ibrahim's troops in May 972,[37] but the Qarmatians soon returned and the Fatimids had to withdraw to Egypt, where Sa'adat ibn Hayyan soon died.[29][45] Al-A'sam began preparing another invasion of Egypt, which was defeated north of Cairo in April 974. Once more the Qarmatians were pushed back to Syria, but this time they were unable to regroup there and had to return to Bahrayn. This marked the end of Qarmatian involvement in the affairs of Syria, allowing the Fatimids to recapture Ramla.[46][47] When al-Mu'izz died in December 975, Fatimid rule over Egypt had been consolidated, but the Fatimid expansion into the Levant was still blocked. It was left to Caliph al-Aziz (r. 975–996) and his vizier, Ya'qub ibn Killis, to pursue the Fatimid conquest of Syria, and engage in a long contest for supremacy over northern Syria and the declining Hamdanid emirate of Aleppo with the Byzantine Empire.[48] In 992, the declining Qarmatians of Bahrayn, defeated by the Buyids and restricted to their original territory, also formally recognized the political suzerainty of the Fatimid caliphs, while retaining their distinct doctrines.[49][50]

References

  1. ^ Daftary 2007, pp. 116–117, 120–123.
  2. ^ Kennedy 2023, p. 270.
  3. ^ Daftary 2007, pp. 110, 121.
  4. ^ Madelung 1996, pp. 24–29.
  5. ^ Daftary 2007, p. 110.
  6. ^ Kennedy 2023, pp. 271–272.
  7. ^ Daftary 2007, pp. 140–147.
  8. ^ Daftary 2007, pp. 147–151.
  9. ^ Halm 2003, p. 93.
  10. ^ a b c d Halm 2003, p. 95.
  11. ^ Bianquis 1998, p. 116.
  12. ^ Brett 2001, pp. 294–295.
  13. ^ a b Madelung 1996, p. 35.
  14. ^ Daftary 2007, pp. 161–162.
  15. ^ Brett 2001, p. 309.
  16. ^ Halm 2003, p. 113.
  17. ^ Walker 1998, p. 137.
  18. ^ Madelung 1996, pp. 22–45.
  19. ^ Daftary 2007, pp. 151–152.
  20. ^ Walker 1998, pp. 135–136.
  21. ^ Madelung 1996, p. 36.
  22. ^ a b Daftary 2007, p. 162.
  23. ^ Brett 2001, pp. 312–313.
  24. ^ Brett 2001, p. 313.
  25. ^ Gil 1997, pp. 338–339.
  26. ^ a b Brett 2001, pp. 313–314.
  27. ^ Halm 2003, pp. 95–96.
  28. ^ a b c d e f Bianquis 1972, p. 84.
  29. ^ a b c d e f Halm 2003, p. 96.
  30. ^ a b Gil 1997, p. 339.
  31. ^ a b Gil 1997, pp. 339–340.
  32. ^ a b c Brett 2001, p. 314.
  33. ^ Brett 2001, pp. 314–315.
  34. ^ a b c Bianquis 1972, p. 85.
  35. ^ Bianquis 1972, pp. 76–77.
  36. ^ Bianquis 1972, pp. 84–85.
  37. ^ a b c Brett 2001, p. 315.
  38. ^ Bianquis 1972, pp. 85–86.
  39. ^ a b c d Bianquis 1972, p. 86.
  40. ^ Halm 2003, pp. 96–97.
  41. ^ Bianquis 1972, pp. 88–89.
  42. ^ Kennedy 2023, p. 320.
  43. ^ Bianquis 1972, p. 90.
  44. ^ Bianquis 1972, pp. 86–87.
  45. ^ Bianquis 1972, p. 87.
  46. ^ Halm 2003, pp. 97–99.
  47. ^ Brett 2001, pp. 327–328.
  48. ^ Kennedy 2023, pp. 322–326.
  49. ^ Daftary 2007, pp. 185–186.
  50. ^ Brett 2001, pp. 366, 414–415.

Sources