He beautified his capital by building a sumptuous palace and his well-known mosque, which still stands in his new royal suburb of Katai; he encouraged the small farmers and reduced the taxation, yet he left five millions in the treasury when he died in 884. His son maintained his power, and more than his luxury and artistic extravagance; but there were no elements of stability in the dynasty, which depended solely upon the character of the ruler. The next generation saw Egypt once more (905) a mere province of the caliphate, but with this difference, that its governors were now Turks, generally under the control of their own soldiery, and much less dependent upon the ever-weakening power of the Caliph of Baghdad. One of them, the Ikhshid, in 935 emulated Ibn-Tulun and united part of Syria to Egypt; but the sons he left were almost children, and the power fell into the hands of the regent Kafur, a black eunuch from the Sudan, bought for £25, who combined a luxurious and cultivated court with some military successes and real administrative capacity.

III.--The Fatimid Caliphs

The Mohammedan world is roughly divided into Sunnis and Shia. The Shia are the idealists, the mystics of Islam; the Sunnis are the formalists, the schoolmen. The Shia trace an apostolic succession from Ali, the husband of the prophet Mohammed's daughter Fatima, hold doctrines of immanence and illumination, adopt an allegorical interpretation of scripture, and believe in the coming of a Mahdi or Messiah. The Sunnis adhere to the elective historical caliphate descended from Mohammed's uncle, maintain the eternal uncreated sufficiency of the Koran, literally interpreted, and believe in no Messiah save Mohammed.

The Shia, whatever their racial origin, form the Persian, the Aryan, adaptation of Islam, which is an essentially Semitic creed. In the tenth century they had established a caliph among the Berbers at Kayrawan (908). They had thence invaded Egypt with temporary success in 914 and 919. When the death of Kafur in 968 left the country a prey to rival military factions, the fourth of the caliphs of Kayrawan--called the Fatimid caliphs, because they claimed a very doubtful descent from Fatima--sent his army into Egypt. The people, who had too long been the sport of Turkish mercenaries, received the invaders as deliverers, just as the Copts had welcomed the Arabs three centuries before. Gauhar, the Fatimid general, entered Fustat (or Misr, as it was usually called, a name still applied both to Egypt and to its capital) amid acclamations in 969, and immediately laid the foundations of the fortified palace which he named, astrologically, after the planet Mars (Kahir), El-Kahira, "the Martial," or "the Victorious," which gradually expanded to the city of Cairo. He also founded the great historic university mosque of the Azhar, which, begun by the heretical Shia, became the bulwark of rigid scholasticism and the theological centre of orthodox Islam.

The theological change was abrupt. It was as though Presbyterian Scotland had suddenly been put under the rule of the Jesuits. But, like the Society of Jesus, the Shia were pre-eminently intellectual and recognised the necessity of adapting their teaching to the capacities of their hearers, and the conditions of the time. They did not force extreme Shia doctrine upon the Egyptians. Their esoteric system, with its graduated stages of initiation, permitted a large latitude, and they were content to add their distinctive formulas to the ordinary Mohammedan ritual, and to set them conspicuously on their coinage, without entering upon a propaganda. The bulk of the Egyptian Moslems apparently preserved their orthodoxy and suffered an heretical caliphate for two centuries with traditional composure. The Christian Copts found the new régime a marked improvement. Mysticism finds kindred elements in many faiths, and the Fatimid caliphs soon struck up relations with the local heads of the Christian religion.

The second Egyptian caliph, Aziz (975-996), was greatly influenced by a Christian wife, who encouraged his natural clemency. Bishop Severus attended his court, and Coptic churches were rebuilt. Throughout the Fatimid period we constantly find Christians and Jews, and especially Armenians, advanced to the highest offices of state. This was partly due, of course, to their special qualifications as scribes and accountants, for Arabs and Turks were no hands at "sums." The land had rest under this wise and tolerant caliph. If he set a dangerous example in his luxury and love of display, he unquestionably maintained law, enforced equity, punished corruption, and valiantly defended his kingdom. He fitted out a fleet of 600 sail at Maks (then the port of Cairo, on the Nile), which kept the Emperor Basil at a distance and assured the caliph's ascendancy from end to end of the Mediterranean Sea.

After these two great rulers the Fatimid caliphate subsisted for nearly two centuries by no virtue or energy of its own. The caliphs lived secluded, like veiled prophets, in their huge palace at Cairo, given over to sensual delights (Saladin found 12,000 women in the Great Palace when he entered it in 1171), and wholly regardless of their kingdom, which they left to the care of vezirs, who were chiefly bent on making their own fortunes, though there were many able, and a few honest men amongst them. The real power rested with the army, and the only check upon the tyranny and debauchery of the army lay in its own jealous divisions. The fanatical Berber regiments imported from Tunis, the bloody blacks recruited in the Sudan, and the mutinous Turkish troops long established in the country, were always at daggers drawn, and their rivalry was the vezirs' opportunity. In such anarchy the country fell from bad to worse.

The reign of Hakim, the frantic son of Aziz and his Christian wife, was a personal despotism of the most eccentric kind, marked by apparently unreasonable regulations, such as keeping the shops open by night instead of by day, and confining all women to the house for seven years, as well as by intermittent persecution of Christians and Jews; and also by enlightened acts, such as the founding of the Hall of Science and the building of mosques, for all the Fatimides were friends to the arts; and ending in the proclamation of Hakim as the incarnation of the Divine Reason, in which capacity he is still adored by the Druses of the Lebanon. This assumption led to popular tumults and an orgy of carnage, in the midst of which Hakim mysteriously disappeared (1021).

His successors, Zahir (1021-1036), and Mustansir (1036-1096) did nothing to retrieve the anarchic situation, of which the soldiers were the unruly masters. Palace cliques, disastrous famines (one of which lasted seven years, 1066-1072, and even led to the public selling of human joints as butcher's meat), slave, or rather freedmen's, revolts, military tumults, and the occasional temporary ascendancy of a talented vezir, sum up the history of Egypt during most of the eleventh century. The wisdom and firmness of two great Armenian vezirs, Bedr-el-Gemali (1073-1094) and his son Afdal (1094-1121), brought a large degree of order, but the last years of the Fatimid caliphate were blotted by savage murders both of caliphs and vezirs, and by the loss of their Syrian dominions to Seljuks and Crusaders.

IV.--The House of Saladin