The establishment of independent dynasties in various parts of the empire, by the revolts of the provincial governors, had been for some time a source of danger to the Abbasside power, and ultimately accomplished the downfall of the dynasty.

The Aglabites in Africa, the Taherites in Khorassan, the house of Bowíyeh in Persia, had, one by one, fallen off from their allegiance, and the authority of the caliphs extended scarcely beyond the walls of Baghdád; and even in the capital itself they lingered on with fluctuating fortune, alternately the tools or victims of rival factions.

The alienation of Egypt—involving, as it nearly always did, that of Syria as well—more immediately affected the fortunes of Jerusalem, and therefore merits a rather more circumstantial account.

In the year 868 Ahmed ibn Túlún, the son of a Turkish slave, who had been appointed viceroy of Egypt by the Caliph el M‘otazz Billah, rebelled against his master’s authority, and assumed the style and title of Sultán, or independent sovereign. The kingdom remained in his family about thirty years, when it was retaken by Mohammed ibn Suleimán, general of the Caliph el Moktadhí Billah, and the authority of the Abbassides was again established in Egypt. This state of things, however, continued but for a short time, and in 936 the government of Egypt was again usurped by a Turk named Ikhshíd, who, after some opposition from the troops of the Er Rádhí Billah (the last of the caliphs who enjoyed the authority or deserved the name), obtained undisputed possession of Syria. He was nominally succeeded by his sons, but the government remained in the hands of his black slave, Káfúr, who ultimately contrived to seat himself upon the throne. At his death the kingdom passed to ‘Alí el Ikshíd, a nephew of the founder of the family; but, after a short reign of one year, he was deposed (A.D. 970) by Jauher, the general of El Mo‘ezz li dín Allah, fourth of the Fatemite caliphs.

This dynasty (the Fatemite, or Ismáïlí) was the most formidable of all who had resisted the authority of the caliphs of Baghdád; for it was not as the insurgent possessors of a province that they asserted their independence, but, as legitimate heirs, they disputed their master’s title to the caliphate itself.

The family traced its origin to Mohammed, through Fatimah, wife of ‘Alí ibn Abi Táleb, and daughter of the prophet; and on the strength of this illustrious pedigree, they claimed to be the true successors of the prophet, and rightful heirs to the supreme authority. Their pretensions were combated with great obstinacy by the Abbasside princes, but there seems good reason for believing that their claims were well-grounded. The founder of the house was one ‘Obeid Allah, who, at the head of a number of political and religious fanatics, had succeeded in establishing himself in Irák and Yemen. After a series of romantic adventures, he made himself master of Africa (A.D. 910), where he assumed the title and authority of Caliph, and gave himself out to be the Mehdí, or last of the Imáms, foretold by Mohammed. At his death, which happened in A.D. 934, he was succeeded by his son, Al Cáïm bi Amr Illah, who reigned until A.D. 946. His son, El Mansúr Ismael, then came to the throne, and dying in 952, the caliphate passed into the hands of El Mo‘ezz li dín Allah Abu Temím Ma’ad. It was this prince who conquered Egypt and founded the city of Cairo, which then became the seat of empire. He died in 969, and was succeeded by his son El ‘Azíz billah Abu Mansúr Nizár. His death happened in October, A.D. 996; and the caliphate then passed to El Hakem bi Amr Illah, about whom it will be necessary to speak more in detail.

Hakem was born at Cairo on the 23rd of August, 985 A.D., and was consequently only eleven years and five months old when he ascended the throne. His father had assigned the guardianship of the young prince, during his minority, to a white eunuch named Barjewán; but the real power was vested in a certain Ibn ‘Ammár, who had previously exercised the functions of Cádhi ul Codhát, or chief magistrate, and whom Hakem had been obliged to appoint as his prime minister. About the year 996, Hakem, or rather Ibn Ammár, had sent Suleimán ibn Ja‘afer (better known as Abu Temím Ketámí) to be governor-general of Syria. Manjutakín, the governor who had been thus superseded, marched against Suleimán; but he was defeated near Ascalon, and sent a prisoner to Cairo. Abu Temím was now invested with the governor-generalship of Syria, and proceeded to Tiberias, where he fixed his residence, and appointed his brother ‘Alí to replace him at Damascus. At first the inhabitants of that city refused to recognise his authority; but Abu Temím having written them a threatening letter, they proffered their submission, and asked pardon for having resisted. ‘Alí refused to listen to their excuses, attacked the city, and put a number of the inhabitants to death; but, on the arrival of Abu Temím himself, order was at last restored. The governor-general then proceeded to occupy himself with the reduction of the maritime ports of Syria, and dismissing Jaish ibn Samsamah from the government of Tripoli, gave the post to his own brother ‘Alí. Jaish at once returned to Egypt, where he made common cause with Barjewán against Ibn ‘Ammár. The latter was not idle, and in the meantime had laid a deep plot against the life of his rival and his associates. Barjewán, however, obtained information of the plot; open hostilities were commenced, and Ibn ‘Ammár was defeated, and compelled to seek safety in concealment. Barjewán now succeeded to the duties and responsibilities of his office, and appointed as his secretary one Fahd ibn Ibrahím, a Christian, to whom he gave the title of Reis. At the same time he wrote privately to the principal officers and inhabitants of Damascus, inciting them to rise and attack Abu Temím. Abu Temím thus found himself assailed at a moment when he least expected it; his treasures were pillaged, all his immediate followers were killed, and he himself was but too glad to escape by flight. While Damascus was thus suddenly exposed to all the horrors of civil war, the other provinces of Syria were agitated by diverse insurrections. In the same year (A.D. 997) the Tyrians had revolted, and placed at their head a fellah named Olaka; while Mofarrij ibn Daghfal ibn Jerráh had also headed a party of insurgents, and was making raids in the neighbourhood of Ramleh. The Greeks, under a general named Ducas, were also, at the same time, laying siege to the castle of Apameus. Meanwhile, Barjewán had committed the government of Syria to Jaish ibn Samsamah, who at once repaired to Ramleh, where he found his deposed predecessor Abu Temím, and sent him a prisoner to Egypt. After this he despatched Husein—a great-grandson of Hamdan, the founder of the Carmathian sect—to quell the insurrection at Tyre. Olaka, being besieged both by land and sea, sought the aid of the Greek emperor, who sent several vessels filled with troops to the relief of the city. The Mussulman vessels encountered this squadron before their arrival at Tyre; the Greeks were defeated, and put to flight with considerable loss. Tyre, thus deprived of its last hope of resistance, fell into the hands of Husein, who sacked the city, and put the inhabitants to the sword. Olaka himself fled to Egypt, where he was arrested and crucified. The new governor-general (Jaish) marched against Mofarrij ibn Jerráh, put the latter to flight, and shortly afterwards entered Damascus, where he was received with every mark of submission and obedience. The complete rout of the Grecian army followed shortly afterwards, and Jaish having, by a coup d’état, massacred all the powerful chiefs at Damascus whom he suspected of disaffection to his rule, established himself firmly in the government of Syria.

Barjewán now wielded the sovereign authority, Hakem remaining more of a puppet in his hands than ever he had been in those of Ibn ‘Ammár. But the eunuch’s triumph was shortlived. Barjewán had frequently applied to Hakem, during the infancy of the latter, the contemptuous name of “The Lizard,” and this indignity rankled in the young caliph’s breast. One morning (on the 15th of April, 999 A.D.) he sent a message to his guardian, couched in the following words: “The little lizard has become a huge dragon, and calls for thee!” Barjewán hastened, all trembling, into the presence of Hakem, who then and there ordered him to be beheaded.

About the year 1000 Hakem began to exhibit those eccentricities of character which ultimately betrayed him into such preposterous fancies and pretensions. He began to promenade the city on horseback every night, and on these occasions the inhabitants of Cairo vied with each other in illuminations, banquets, and other festive displays. As no limit was observed in these amusements, and a great deal of licentiousness was the natural result, the caliph forbade any woman to leave her house after nightfall, and prohibited the men from keeping their shops open after dusk. During the next two years, Hakem displayed an unbounded zeal for the Shiah sect, inflicting indignities upon “the enemies of ‘Alí,” and even putting many distinguished Sunnís to death. At the same time he commenced a rigorous persecution of the Jews and Christians: the more eminent persons of both religions were compelled either to embrace the Mohammedan creed, or to submit to an entire confiscation of their property—and, in many cases, to undergo a violent death; while the common people were robbed and illtreated on all sides, and obliged to wear a ridiculous uniform, to distinguish them from their Muslim neighbours.

Between the years 1004 and 1005, he became more extravagant and ridiculous in his behaviour than before. He prohibited the sale of certain vegetables, ordered that no one should enter the public baths without drawers upon pain of death, and caused anathemas to be written up, over the doors of all the mosques, against the first three caliphs, and all those persons whom history mentions as having been inimical to the family and succession of ‘Alí. About this time he began to hold public assemblies, in which the peculiar doctrines of the Fatemite or Batení sect were taught, and Muslims of all classes and both sexes presented themselves in crowds for initiation.