His son Abū’l-Ḥasan ‘Ali, who succeeded him with the title al-Ẓāhir li‘i’zāz dīn allāh, was sixteen years of age at the time, and for four years his aunt Sitt al-Mulk acted as regent; she appears to have been an astute but utterly unscrupulous woman. After her death the caliph was in the power of various ministers, under whose management of affairs Syria was for a time lost to the Egyptian caliphate, and Egypt itself raided by the Syrian usurpers, of whom one, Ṣāliḥ b. Mirdās, succeeded in establishing a dynasty at Aleppo, which maintained itself after Syria and Palestine had been recovered for the Fāṭimites by Anushtakin al-Dizbarī at the battle of Ukhuwānah in 1029. His career is said to have been marked by some horrible caprices similar to those of his father. After a reign of nearly sixteen years he died of the plague.

His successor, Abū Tamīm Ma‘add, who reigned with the title al-Mostanṣir, was also an infant at the time of his accession, being little more than seven years of age. The power was largely in the hands of his mother, a negress, who promoted the interests of her kinsmen at court, where indeed even in Ḥākim’s time they had been used as a counterpoise to the Maghribine and Turkish elements in the army. In the first years of this reign affairs were administered by the vizier al-Jarjarā‘ī, by whose mismanagement Aleppo was lost to the Fāṭimites. At his death in 1044 the chief influence passed into the hands of Abu Sa’d, a Jew, and the former master of the queen-mother, and at the end of four years he was assassinated at the instance of another Jew (Ṣadaḳah, perhaps Zedekiah, b. Joseph al-Falāḥī), whom he had appointed vizier. In this reign Mo’izz b. Badis, the 4th ruler of the dependent Zeirid dynasty which had ruled in the Maghrib since the migration of the Fāṭimite Mo’izz to Egypt, definitely abjured his allegiance (1049) and returned to Sunnite principles and subjection to the Bagdad caliphate. The Zeirids maintained Mahdia (see [Algiers]), while other cities of the Maghrib were colonized by Arab tribes sent thither by the Cairene vizier. This loss was more than compensated by the enrolment of Yemen among the countries which recognized the Fāṭimite caliphate through the enterprise of one ‘Ali b. Mahommed al-Ṣulaiḥī, while owing to the disputes between the Turkish generals who claimed supremacy at Bagdad, Mostanṣir’s name was mentioned in public prayer at that metropolis on the 12th of January 1058, when a Turkish adventurer Basāsīrī was for a time in power. The Egyptian court, chiefly owing to the jealousy of the vizier, sent no efficient aid to Basāsīrī, and after a year Bagdad was retaken by the Seljūk Toghrul Beg, and the Abbasid caliph restored to his rights. In the following years the troubles in Egypt caused by the struggles between the Turkish and negro elements in Mostanṣir’s army nearly brought the country into the dominion of the Abbasids. After several battles of various issue the Turkish commander Nāṣir addaula b. Hamdān got possession of Cairo, and at the end of 1068 plundered the caliph’s palace; the valuable library which had been begun by Ḥākim was pillaged, and an accidental fire caused great destruction. The caliph and his family were reduced to destitution, and Nāṣir addaula began negotiations for restoring the name of the Abbasid caliph in public prayer; he was, however, assassinated before he could carry this out, and his assassin, also a Turk, appointed vizier. Mostanṣir then summoned to his aid Badr al-Jamālī, an Armenian who had displayed competence in various posts which he had held in Syria, and this person early in 1074 arrived in Cairo accompanied by a bodyguard of Armenians; he contrived to massacre the chiefs of the party at the time in possession of power, and with the title Amīr al-Juyūsh (“prince of the armies”) was given by Mostanṣir complete control of affairs. The period of internal disturbances, which had been accompanied by famine and pestilence, had caused usurpers to spring up in all parts of Egypt, and Badr was compelled practically to reconquer the country. During this time, however, Syria was overrun by an invader in league with the Seljūk Malik Shah, and Damascus was permanently lost to the Fāṭimites; other cities were recovered by Badr himself or his officers. He rebuilt the walls of Cairo, of more durable material than that which had been employed by Jauhar—a measure rendered necessary partly by the growth of the metropolis, but also by the repeated sieges which it had undergone since the commencement of Fāṭimite rule. The time of Mostanṣir is otherwise memorable for the rise of the Assassins (q.v.), who at the first supported the claims of his eldest son Nizār to the succession against the youngest Ḁhmed, who was favoured by the family of Badr. When Badr died in 1094 his influence was inherited by his son al-Afḍal Shāhinshāh, and this, at the death of Mostanṣir in the same year, was thrown in favour of Aḥmed, who succeeded to the caliphate with the title al-Mosta’lī billāh.

Mosta’lī’s succession was not carried through without an attempt on the part of Nizār to obtain his rights, the title which he chose being al-Moṣṭafā lidīn allāh; for a time he maintained himself in Alexandria, but the energetic The Crusades. measures of his brother soon brought the civil war to an end. The beginning of this reign coincided with the beginning of the Crusades, and al-Afḍal made the fatal mistake of helping the Franks by rescuing Jerusalem from the Ortokids, thereby facilitating its conquest by the Franks in 1099. He endeavoured to retrieve his error by himself advancing into Palestine, but he was defeated in the neighbourhood of Ascalon, and compelled to retire to Egypt. Many of the Palestinian possessions of the Fāṭimites then successively fell into the hands of the Franks. After a reign of seven years Mosta’lī died and the caliphate was given by al-Afḍal to an infant son, aged five years at the time, who was placed on the throne with the title al-Āmir biahkām allāh, and for twenty years was under the tutelage of al-Afḍal. He made repeated attempts to recover the Syrian and Palestinian cities from the Franks, but with poor success. In 1118 Egypt was invaded by Baldwin I., who burned the gates and the mosques of Farama, and advanced to Tinnis, whence illness compelled him to retreat. In August 1121 al-Afḍal 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. The vizier’s offices were given to one of the caliph’s creatures, Mahommed b. Fātik al-Batā’iḥī, who took the title al-Ma’mūn. His external policy was not more fortunate than that of his predecessor, as he lost Tyre to the Franks, and a fleet equipped by him was defeated by the Venetians. On the 4th of October 1125 he with his followers was seized and imprisoned by order of the Caliph Āmir, who was now resolved to govern by himself, with the assistance of only subordinate officials, of whom two were drawn from the Samaritan and Christian communities. The vizier was afterwards crucified with his five brothers. The caliph’s personal government appears to have been incompetent, and to have been marked by extortions and other arbitrary measures. He was assassinated in October 1129 by some members of the sect who believed in the claims of Nizār, son of Mostanṣir.

The succeeding caliph, Abu’l-Maimūn ‘Abd al-Majīd, who took the title al-Ḥāfiẓ lidīn allāh, was not the son but the cousin of the deceased caliph, and of ripe age, being about fifty-eight years old at the time; for more than a year he was kept in prison by the new vizier, a son of al-Afḍal, whom the army had placed in the post; but towards the end of 1131 this vizier fell by the hand of assassins, and the caliph was set free. The reign of Ḥāfiẓ was disturbed by the factions of the soldiery, between which several battles took place, ending in the subjection of the caliph for a time to various usurpers, one of these being his own son Ḥasan, who had been provoked to rebel by the caliph nominating a younger brother as his successor. For some months the caliph was under this son’s control; but the latter, who aimed at conciliating the people, speedily lost his popularity with the troops, and his father was able to get possession of his person and cause him to be poisoned (beginning of 1135).

His son Abu’l-Manṣūr Ismā‘īl, who was seventeen years old at the time of Ḥāfiẓ’s death, succeeded him with the title al-Zāfir lia’dā allāh. From this reign to the end of the Fāṭimite period we have the journals of two eminent men, Usāmah b. Muniqdh and Umārah of Yemen, which throw light on the leading characters. The civil dissensions of Egypt were notorious at the time. The new reign began by an armed struggle between two commanders for the post of vizier, which in January 1150 was decided in favour of the Amir Ibn Sallār. This vizier was presently assassinated by the direction of his stepson ‘Abbās, who was raised to the vizierate in his place. This event was shortly followed by the loss to the Fāṭimites of Ascalon, the last place in Syria which they held; its loss was attributed to dissensions between the parties of which the garrison consisted. Four years later (April 1154) the caliph was murdered by his vizier ‘Abbās, according to Usāmah, because the caliph had suggested to his favourite, the vizier’s son, to murder his father; and this was followed by a massacre of the brothers of Zāfir, followed by the raising of his infant son Abu’l-Qāsim ’Īsā to the throne.

The new caliph, who was not five years old, received the title al-Fā’iz binaṣr allāh, and was at first in the power of ‘Abbās. The women of the palace, however, summoned to their aid Ṭalā’i’ b. Ruzzīk, prefect of Ushmunain, at whose arrival in Cairo the troops deserted ‘Abbās, who was compelled to flee into Syria, taking his son and Usāmah with him. ‘Abbās was killed by the Franks near Ascalon, his son sent in a cage to Cairo where he was executed, while Usāmah escaped to Damascus.

The infant Fā’iz, who had been permanently incapacitated by the scenes of violence which accompanied his accession, died in 1160. Ṭalā’i’ chose to succeed him a grandson of Ẓāfir, who was nine years of age, and received the title al-‘Āḍid lidīn allāh. Ṭalā’i’, who had complete control of affairs, introduced the practice of farming the taxes for periods of six months instead of a year, which led to great misery, as the taxes were demanded twice. His death was brought on by the rigour with which he treated the princesses, one of whom, with or without the connivance of the caliph, organized a plot for his assassination, and he died in September 1160. His son Ruzzīk inherited his post and maintained himself in it for more than a year, when another prefect of Upper Egypt, Shāwar b. Mujīr, brought a force to Cairo, before which Ruzzīk fled, to be shortly afterwards captured and beheaded. Shāwar’s entry into Cairo was at the beginning of 1163; after nine months he was compelled to flee before another adventurer, an officer in the army named Ḍirghām. Shāwar’s flight was directed to Damascus, where he was favourably received by the prince Nureddin, who sent with him to Cairo a force of Kurds under Asad al-dīn Shīrgūh. At the same time Egypt was invaded by the Franks, who raided and did much damage on the coast. Dirghām was defeated and killed, but a dispute then arose between Shāwar and his Syrian allies for Frankish invasion. the possession of Egypt. Shāwar, being unable to cope with the Syrians, demanded help of the Frankish king of Jerusalem Amalric (Amauri) I., who hastened to his aid with a large force, which united with Shāwar’s and besieged Shīrgūh in Bilbeis for three months; at the end of this time, owing to the successes of Nureddin in Syria, the Franks granted Shīrgūh a free passage with his troops back to Syria, on condition of Egypt being evacuated (October 1164). Rather more than two years later Shīrgūh persuaded Nureddin to put him at the head of another expedition to Egypt, which left Syria in January 1167, and, entering Egypt by the land route, crossed the Nile at Itfīḥ (Atfih), and encamped at Giza; a Frankish army hastened to Shāwar’s aid. At the battle of Bābain (April 11th, 1167) the allies were defeated by the forces commanded by Shīrgūh and his nephew Saladin, who was Saladin. presently made prefect of Alexandria, which surrendered to Shīrgūh without a struggle. Saladin was soon besieged by the allies in Alexandria; but after seventy-five days the siege was raised, Shīrgūh having made a threatening movement on Cairo, where a Frankish garrison had been admitted by Shāwar. Terms were then made by which both Syrians and Franks were to quit Egypt, though the garrison of Cairo remained; the hostile attitude of the Moslem population to this garrison led to another invasion at the beginning of 1168 by King Amalric, who after taking Bilbeis advanced to Cairo. The caliph, who up to this time appears to have left the administration to the viziers, now sent for Shīrgūh, whose speedy arrival in Egypt caused the Franks to withdraw. Reaching Cairo on the 6th of January 1169, he was soon able to get possession of Shāwar’s person, and after the prefect’s execution, which happened some ten days later, he was appointed vizier by the caliph. After two months Shīrgūh died of indigestion (23rd of March 1169), and the caliph appointed Saladin as successor to Shīrgūh; the new vizier professed to hold office as a deputy of Nureddin, whose name was mentioned in public worship after that of the caliph. By appropriating the fiefs of the Egyptian officers and giving them to his Kurdish followers he stirred up much ill-feeling, which resulted in a conspiracy, of which the object was to recall the Franks with the view of overthrowing the new régime; but this conspiracy was revealed by a traitor and crushed. Nureddin loyally aided his deputy in dealing with Frankish invasions of Egypt, but the anomaly by which he, being a Sunnite, was made in Egypt to recognize a Fāṭimite caliph could not long continue, and he ordered Saladin to weaken the Fāṭimite by every available means, and then substitute the name of the Abbasid for his in public worship. Saladin and his ministers were at first afraid lest this step might give rise to disturbances among the people; but a stranger undertook to risk it on the 17th of September 1171, and the following Friday it was repeated by official order; the caliph himself died during the interval, and it is uncertain whether he ever heard of his deposition. The last of the Fāṭimite caliphs was not quite twenty-one years old at the time of his death.

(5) Ayyubite Period.—Saladin by the advice of his chief Nureddin cashiered the Fāṭimite judges and took steps to encourage the study of orthodox theology and jurisprudence in Egypt by the foundation of colleges and chairs. On the death of the ex-caliph he was confirmed in the prefecture of Egypt as deputy of Nureddin; and on the decease of the latter in 1174 (12th of April) he took the title sultan, so that with this year the Ayyubite period of Egyptian history properly begins. During the whole of it Damascus rather more than Cairo counted as the metropolis of the empire. The Egyptian army, which was motley in character, was disbanded by the new sultan, whose troops were Kurds. Though he did not build a new metropolis he fortified Cairo with the addition of a citadel, and had plans made for a new wall to enclose both it and the double city; this latter plan was never completed, but the former was executed after his death, and from this time till the French occupation of Egypt the citadel of Cairo was the political centre of the country. It was in 1183 that Saladin’s rule over Egypt and North Syria was consolidated. Much of Saladin’s time was spent in Syria, and his famous wars with the Franks belong to the history of the Crusades and to his personal biography. Egypt was largely governed by his favourite Karākūsh, who lives in popular legend as the “unjust judge,” though he does not appear to have deserved that title.

Saladin at his death divided his dominions between his sons, of whom ’Othman succeeded to Egypt with the title Malik al-Azīz ‘Imāl al-aīn. The division was not satisfactory to the heirs, and after three years (beginning of 1196) the Egyptian sultan conspired with his uncle Malik al-‘Ādil to deprive Saladin’s son al-Afḍal of Damascus, which had fallen to his lot. The war between the brothers was continued with intervals of peace, during which al-‘Ādil repeatedly changed sides: eventually he with al-‘Azīz besieged and took Damascus, and sent al-Afḍal to Sarkhad, while al-‘Ādil remained in possession of Damascus. On the death of al-‘Azīz on the 29th of November 1198 in consequence of a hunting accident, his infant son Mahommed was raised to the throne with the title Malik al-Manṣūr Nāṣir al-dīn, and his uncle al-Afḍal sent for from Sarkhad to take the post of regent or Atābeg. So soon as al-Afḍal had got possession of his nephew’s person, he started on an expedition for the recovery of Damascus: al-‘Ādil not only frustrated this, but drove him back to Egypt, where on the 25th of January 1200 a battle was fought between the armies of the two at Bilbeis, resulting in the defeat of al-Afḍal, who was sent back to Sarkhad, while al-‘Ādil assumed the regency, for which after a few months he substituted the sovereignty, causing his nephew to be deposed. He reigned under the title Malik al-‘Ādil Saif al-dīn. His name was Abū Bakr.

Though the early years of his reign were marked by numerous disasters, famine, pestilence and earthquake, of which the second seems to have been exceedingly serious, he reunited under his sway the whole of the empire which had belonged to his brother, and his generals conquered for him parts of Mesopotamia and Armenia, and in 1215 he got possession of Yemen. He followed the plan of dividing his empire between his sons, the eldest Mahommed, called Malik al-Kāmil, being his viceroy in Egypt, while al-Mu‘azzam ’Īsā governed Syria, al-Ashraf Mūsā his eastern and al-Malik al-Auḥad Ayyūb his northern possessions. His attitude towards the Franks was at the first peaceful, but later in his reign he was compelled to adopt more strenuous measures. His death occurred at Alikin (1218), a village near Damascus, while the Franks were besieging Damietta—the first operation of the Fifth Crusade—which was defended by al-Kāmil, to whom his father kept sending reinforcements. The efforts of al-Kāmil after his accession to the independent sovereignty were seriously hindered by the endeavour of an amir named Aḥmed b. Mashṭūb to depose him and appoint in his place a brother called al-Fā’iz Sābiq al-dīn Ibrāhīm: this attempt was frustrated by the timely interposition of al-Mu‘azzam ’Īsā, who came to Egypt to aid his brother in February 1219, and compelled al-Fā’iz to depart for Mosul. After a siege of sixteen and a half months Damietta was taken by the Franks on Tuesday the 6th of November 1219; al-Kāmil thereupon proclaimed the Jihād, and was joined at his fortified camp, afterwards the site of Manṣūra, by troops from various parts of Egypt, Syria and Mesopotamia, including the forces of his brothers ’Īsā and Mūsā. With these allies, and availing himself of the advantages offered by the inundation of the Nile, al-Kāmil was able to cut off both the advance and the retreat of the invaders, and on the 31st of August 1221 a peace was concluded, by which the Franks evacuated Egypt.