Egypt in the Middle Ages

[3] Fustat quickly became the focal point of Islamic Egypt, and, with the exception of the brief relocation to Helwan during a plague in 689, and the period of 750–763, when the seat of the governor moved to Askar, the capital and residence of the administration.

By the time of Caliph Mu'awiya I (r. 661–680), the number of men registered in the army list (diwān al-jund) and entitled an annual pay (ʿaṭāʾ) reached 40,000.

[9][8] It was only after the losses of the Second Fitna that the registers were updated, and occasionally, governors would add soldiers en masse to the lists as a means to garner political support.

Relying on his close ties with the jund, Abd al-Aziz ruled the country for 20 years, enjoying wide autonomy and governing as a de facto viceroy.

[13] Abd al-Aziz also supervised the completion of the Muslim conquest of North Africa; it was he who appointed Musa ibn Nusayr in his post as governor of Ifriqiya.

Al-Mu'tasim discontinued the practice, removing the Arab families from the army registers diwān and ordering that the revenues of Egypt be sent to the central government, which would then pay the ʿaṭāʾ only to the Turkish troops stationed in the province.

[18] The rapidity of this process, and the influx of settlers after the discovery of gold and emerald mines at Aswan, meant that Upper Egypt in particular was only superficially controlled by the local governor.

[19][20] Furthermore, the persistence of internecine strife and turmoil at the heart of the Abbasid state—the so-called "Anarchy at Samarra"—led to the appearance of millennialist revolutionary movements in the province under a series of Alid pretenders in the 870s.

[24] This appointment ushered in a new era in Egypt's history: hitherto a passive province of an empire, under Ibn Tulun it would re-emerge as an independent political centre.

[32] His regime was in many ways typical of the "ghulām system" that became one of the two main paradigms of Islamic polities in the 9th and 10th centuries, as the Abbasid Caliphate fragmented and new dynasties emerged.

These regimes were based on the power of a regular army composed of slave soldiers or ghilmān, but in turn, according to Hugh N. Kennedy, "the paying of the troops was the major preoccupation of government".

[32][34] The peace and security provided by the Tulunid regime, the establishment of an efficient administration, and repairs and expansions to the irrigation system, coupled with a consistently high level of Nile floods, resulted in a major increase in revenue.

Ibn Tulun occupied Syria but failed to seize Tarsus in Cilicia, and was forced to return to Egypt due to the abortive revolt of his eldest son, Abbas.

This opened anew the rift between the two rulers: Ibn Tulun organized an assembly of religious jurists at Damascus which denounced al-Muwaffaq a usurper, condemned his maltreatment of the Caliph, declared his place in the succession as void, and called for a jihād against him.

Al-Muwaffaq was duly denounced in sermons in the mosques across the Tulunid domains, while the Abbasid regent responded in kind with a ritual denunciation of Ibn Tulun.

Khumarawayh was able to preserve his authority against the Abbasid's attempt to overthrow him at the Battle of Tawahin and even made additional territorial gains, recognized in a treaty with al-Muwaffaq in 886 that gave the Tulunids the hereditary governorship over Egypt and Syria for 30 years.

[42] Domestically, Khumarawayh's reign was one of "luxury and decay" (Hugh N. Kennedy), but also a time of relative tranquility in Egypt as well as in Syria, a rather unusual occurrence for the period.

Harun too was a weak ruler, and although a revolt by his uncle Rabi'ah in Alexandria was suppressed, the Tulunids were unable to confront the attacks of the Qarmatians who began at the same time.

By a timely sortie, preceded by the administration of bribes to various officers in the Carmathian host, Jauhar succeeded in inflicting a severe defeat on the besiegers, who were compelled to evacuate Egypt and part of Syria.

Meanwhile, the caliph in 2 al-Muizz had been summoned to enter the palace that had been prepared for him, and after leaving a viceroy to take charge of his western possessions he arrived in Alexandria on May 31 973, and proceeded to instruct his new subjects in the particular form of religion (Shiism) which his family represented.

As this was in origin identical with that professed by the Carmathians, he hoped to gain the submission of their leader by argument; but this plan was unsuccessful, and there was a fresh invasion from that quarter in the year after his arrival, and the caliph found himself besieged in his capital.

Al-Aziz attempted without success to enter into friendly relations with the Buwayhid ruler of Baghdad, and tried to gain possession of Aleppo, as the key to Iraq, but this was prevented by the intervention of the Byzantines.

He is perhaps best remembered by his destruction of the Church of the Holy Sepulchre in Jerusalem (1009), a measure which helped to provoke the Crusades, but was only part of a general scheme for converting all Christians and Jews in his dominions to his own opinions by force.

In August 1121 al-Afdal Shahanshah was assassinated in a street of Cairo, it is said, with the connivance of the Caliph, who immediately began the plunder of his house, where fabulous treasures were said to be amassed.

Shawar, being unable to cope with the Syrians, demanded help of the Frankish king of Jerusalem Amalric I, who hastened to his aid with a large force, which united with Shawar's and besieged Shirkuh in Bilbeis for three months; at the end of this time, owing to the successes of Nureddin in Syria, the Franks granted Shirkuh a free passage with his troops back to Syria, on condition of Egypt being evacuated (October 1164).

[49] Two years later Shirkuh, a Kurdish general known as "the Lion", persuaded Nureddin to put him at the head of another expedition to Egypt, which left Syria in January 1167; a Frankish army hastened to Shawar's aid.

Nureddin loyally aided his deputy in dealing with Crusader invasions of Egypt, and he ordered Saladin to substitute the name of the Abbasid caliph for the Fatimid in public worship.

Al-Kamil was later forced to give up various cities in Palestina and Syria to Frederick II, Holy Roman Emperor during the Sixth Crusade, in order to gain his help against Damascus.

Qutuz defeated the army of Hulagu Khan at the Battle of Ain Jalut in the year 1260, allowing him to regain all of Syria except for the Crusader strongholds.

Since 1347 the Egyptian population, economy, and political system experienced significant destruction as a result of the Black Death pandemic whose waves continued to destroy Egypt up to the early 16th century.

The age of the first few caliphs
Muhammad, 622–632
Rashidun Caliphate, 632–661
Umayyad Caliphate, 661–750
Spiral Minaret of the Mosque of Ibn Tulun in Cairo
Map of the Tulunid domains towards the end of Khumarawayh's reign
The near East in 1025 AD, showing the Fatimid Caliphate and neighbors
The Al-Azhar Mosque , of medieval Fatimid Cairo
The Ayyubid Empire at its greatest extent
Mamluk manuscript
Bahri Mamluks at its greatest extent. Blue indicates the Ilkhanate.