Three dynasties contemporary with the Buwayhids have still to be mentioned: the Ghaznevids in Afghanistan, the The Ghaznevids (976-1186 a.d.). Ḥamdánids in Syria, and the Fáṭimids in Egypt. Sabuktagín, the founder of the first-named dynasty, was a Turkish slave. His son, Maḥmúd, who succeeded to the throne of Ghazna in 998 a.d., made short work of the already tottering Sámánids, and then sweeping far and wide over Northern India, began a series of conquests which, before his death in 1030 a.d., reached from Lahore to Samarcand and Iṣfahán. Although the Persian and Transoxanian provinces of his huge empire were soon torn away by the Seljúqs, Maḥmúd's invasion of India, which was undertaken with the object of winning that country for Islam, permanently established Muḥammadan influence, at any rate in the Panjáb. As regards their religious views, the Turkish Ghaznevids stand in sharp contrast with the Persian houses of Sámán and Buwayh. It has been well said that the true genius of the Turks lies in action, not in speculation. When Islam came across their path, they saw that it was a simple and practical creed such as the soldier requires; so they accepted it without further parley. The Turks have always remained loyal to Islam, the Islam of Abú Bakr and ‘Umar, which is a very different thing from the Islam of Shí‘ite Persia. Maḥmúd proved his orthodoxy by banishing the Mu‘tazilites of Rayy and burning their books together with the philosophical and astronomical works that fell into his hands; but on the same occasion he carried off a hundred camel-loads of presumably harmless literature to his capital. That he had no deep enthusiasm for letters is shown, for example, by his shabby treatment of the poet Firdawsí. Nevertheless, he ardently desired the glory and prestige accruing to a sovereign whose court formed the rallying-point of all that was best in the literary and scientific culture of the day, and such was Ghazna in the eleventh century. Besides the brilliant group of Persian poets, with Firdawsí at their head, we may mention among the Arabic-writing authors who flourished under this dynasty the historians al-‘Utbí and al-Bírúní.

While the Eastern Empire of Islam was passing into the hands of Persians and Turks, we find the Arabs still holding The Ḥamdánids (929-1003 a.d.). their own in Syria and Mesopotamia down to the end of the tenth century. These Arab and generally nomadic dynasties were seldom of much account. The Ḥamdánids of Aleppo alone deserve to be noticed here, and that chiefly for the sake of the peerless Sayfu ’l-Dawla, a worthy descendant of the tribe of Taghlib, which in the days of heathendom produced the poet-warrior, ‘Amr b. Kulthúm. ‘Abdulláh b. Ḥamdán was appointed governor of Mosul and its dependencies by the Caliph Muktafí in 905 a.d., and in 942 his sons Ḥasan and ‘Alí received the complimentary titles of Náṣiru ’l-Dawla (Defender of the State) and Sayfu ’l-Dawla (Sword of the State). Two years later Sayfu ’l-Dawla captured Aleppo and brought the whole of Northern Syria under his dominion. During a reign of twenty-three years he was continuously engaged in harrying the Byzantines on the frontiers of Asia Minor, but although he gained some glorious victories, which his laureate Mutanabbí has immortalised, the fortune of war went in the long run steadily against him, and his successors were unable to preserve their little kingdom from being crushed between the Byzantines in the north and the Fáṭtimids in the south. The Ḥamdánids have an especial claim on our sympathy, because they revived for a time the fast-decaying and already almost broken spirit of Arabian nationalism. It is this spirit that speaks with a powerful voice in Mutanabbí and declares itself, for example, in such verses as these:—[503]

"Men from their kings alone their worth derive, But Arabs ruled by aliens cannot thrive: Boors without culture, without noble fame, Who know not loyalty and honour's name. Go where thou wilt, thou seest in every land Folk driven like cattle by a servile band."

The reputation which Sayfu ’l-Dawla's martial exploits and his repeated triumphs over the enemies of Islam richly earned The circle of Sayfu ’l-Dawla. for him in the eyes of his contemporaries was enhanced by the conspicuous energy and munificence with which he cultivated the arts of peace. Considering the brevity of his reign and the relatively small extent of his resources, we may well be astonished to contemplate the unique assemblage of literary talent then mustered in Aleppo. There was, first of all, Mutanabbí, in the opinion of his countrymen the greatest of Moslem poets; there was Sayfu ’l-Dawla's cousin, the chivalrous Abú Firás, whose war-songs are relieved by many a touch of tender and true feeling; there was Abu ’l-Faraj of Iṣfahán, who on presenting to Sayfu ’l-Dawla his Kitábu ’l-Aghání, one of the most celebrated and important works in all Arabic literature, received one thousand pieces of gold accompanied with an expression of regret that the prince was obliged to remunerate him so inadequately; there was also the great philosopher, Abú Naṣr al-Fárábí, whose modest wants were satisfied by a daily pension of four dirhems (about two shillings) from the public treasury. Surely this is a record not easily surpassed even in the heyday of ‘Abbásid patronage. As for the writers of less note whom Sayfu ’l-Dawla attracted to Aleppo, their name is legion. Space must be found for the poets Sarí al-Raffá, Abu ’l-‘Abbás al-Námí, and Abu ’l-Faraj al-Babbaghá for the preacher (khaṭíb) Ibn Nubáta, who would often rouse the enthusiasm of his audience while he urged the duty of zealously prosecuting the Holy War against Christian Byzantium; and for the philologist Ibn Khálawayh, whose lectures were attended by students from all parts of the Muḥammadan world. The literary renaissance which began at this time in Syria was still making its influence felt when Tha‘álibí wrote his Yatíma, about thirty years after the death of Sayfu ’l-Dawla, and it produced in Abu ’l-‘Alá al-Ma‘arrí (born 973 a.d.) an original and highly interesting personality, to whom we shall return on another occasion.

The dynasties hitherto described were political in their origin, having generally been founded by ambitious governors The Fáṭimids (909-1171 a.d.). or vassals. These upstarts made no pretensions to the nominal authority, which they left in the hands of the Caliph even while they forced him at the sword's point to recognise their political independence. The Sámánids and Buwayhids, Shí‘ites as they were, paid the same homage to the Caliph in Baghdád as did the Sunnite Ghaznevids. But in the beginning of the tenth century there arose in Africa a great Shí‘ite power, that of the Fáṭimids, who took for themselves the title and prerogatives of the Caliphate, which they asserted to be theirs by right Divine. This event was only the climax of a deep-laid and skilfully organised plot—one of the most extraordinary in all history. It had been put in train half a century earlier by a certain ‘Abdulláh the son of Maymún, a Persian oculist (qaddáḥ) belonging to Aḥwáz. Filled with a fierce hatred of the Arabs and with a freethinker's contempt for Islam, ‘Abdulláh b. Maymún conceived the idea of a vast secret society which should be all things to all men, and which, by playing on the strongest passions and tempting the inmost weaknesses of human nature, should unite malcontents of every description in a conspiracy to overthrow the existing régime. Modern readers may find a parallel for this romantic project in the pages of Dumas, although the Aramis of Twenty Years After is a simpleton beside ‘Abdulláh. He saw that the movement, in order to succeed, must be started on a religious basis, and he therefore identified himself with an obscure The Ismá‘ílite propaganda. Shí‘ite sect, the Ismá‘ílís, who were so called because they regarded Muḥammad, son of Ismá‘íl, son of Ja‘far al-Ṣádiq, as the Seventh Imám. Under ‘Abdulláh the Ismá‘ílís developed their mystical and antinomian doctrines, of which an excellent account has been given by Professor Browne in the first volume of his Literary History of Persia (p. 405 sqq.). Here we can only refer to the ingenious and fatally insidious methods which he devised for gaining proselytes on a gigantic scale, and with such amazing success that from this time until the Mongol invasion—a period of almost four centuries—the Ismá‘ílites (Fáṭimids, Carmathians, and Assassins) either ruled or ravaged a great part of the Muḥammadan Empire. It is unnecessary to discuss the question whether ‘Abdulláh b. Maymún was, as Professor Browne thinks, primarily a religious enthusiast, or whether, according to the view commonly held, his real motives were patriotism and personal ambition. The history of Islam shows clearly enough that the revolutionist is nearly always disguised as a religious leader, while, on the other hand, every founder of a militant sect is potentially the head of a state. ‘Abdulláh may have been a fanatic first and a politician afterwards; more probably he was both at once from the beginning. His plan of operations was briefly as follows:—

The dá‘í or missionary charged with the task of gaining adherents for the Hidden Imám (see p. [216] seq.), in whose name allegiance was demanded, would settle in some place, representing himself to be a merchant, Ṣúfí, or the like. By renouncing worldly pleasures, making a show of strict piety, and performing apparent miracles, it was easy for him to pass as a saint with the common folk. As soon as he was assured of his neighbours' confidence and respect, he began to raise doubts in their minds. He would suggest difficult problems of theology or dwell on the mysterious significance of certain passages of the Koran. May there not be (he would ask) in religion itself a deeper meaning than appears on the surface? Then, having excited the curiosity of his hearers, he suddenly breaks off. When pressed to continue his explanation, he declares that such mysteries cannot be communicated save to those who take a binding oath of secrecy and obedience and consent to pay a fixed sum of money in token of their good faith. If these conditions were accepted, the neophyte entered upon the second of the nine degrees of initiation. He was taught that mere observance of the laws of Islam is not pleasing to God, unless the true doctrine be received through the Imáms who have it in keeping. These Imáms (as he next learned) are seven in number, beginning with ‘Alí; the seventh and last is Muḥammad, son of Ismá‘íl. On reaching the fourth degree he definitely ceased to be a Moslem, for here he was taught the Ismá‘ílite system of theology in which Muḥammad b. Ismá‘íl supersedes the founder of Islam as the greatest and last of all the Prophets. Comparatively few initiates advanced beyond this grade to a point where every form of positive religion was allegorised away, and only philosophy was left. "It is clear what a tremendous weapon, or rather machine, was thus created. Each man was given the amount of light which he could bear and which was suited to his prejudices, and he was made to believe that the end of the whole work would be the attaining of what he regarded as most desirable."[504] Moreover, the Imám Muḥammad b. Ismá‘íl having disappeared long ago, the veneration which sought a visible object was naturally transferred to his successor and representative on earth, viz., ‘Abdulláh b. Maymún, who filled the same office in relation to him as Aaron to Moses and ‘Alí to Muḥammad.

About the middle of the ninth century the state of the Moslem Empire was worse, if possible, than it had been in the latter days of Umayyad rule. The peasantry of ‘Iráq were impoverished by the desolation into which that flourishing province was beginning to fall in consequence of the frequent and prolonged civil wars. In 869 a.d. the negro slaves (Zanj) employed in the saltpetre industry, for which Baṣra was famous, took up arms at the call of an ‘Alid Messiah, and during fourteen years carried fire and sword through Khúzistán and the adjacent territory. We can imagine that all this misery and discontent was a godsend to the Ismá‘ílites. The old cry, "A deliverer of the Prophet's House," which served the ‘Abbásids so well against the Umayyads, was now raised with no less effect against the ‘Abbásids themselves.

‘Abdulláh b. Maymún died in 875 a.d., but the agitation went on, and rapidly gathered force. One of the leading spirits was Ḥamdán Qarmaṭ, who gave his name to the Carmathian branch of the Ismá‘ílís. These Carmathians (Qarámiṭa, sing. Qirmiṭí) spread over Southern Persia and Yemen, and in the tenth century they threatened Baghdád, repeatedly waylaid the pilgrim-caravans, sacked Mecca and bore away the Black Stone as a trophy; in short, established a veritable reign of terror. We must return, however, to the main Ismá‘ílite faction headed by the descendants of ‘Abdulláh b. Maymún. Their emissaries discovered a promising field of work in North Africa among the credulous and fanatical Berbers. When all was ripe, Sa‘íd b. Ḥusayn, the grandson of ‘Abdulláh b. Maymún, left Salamya in Syria, the centre from which the wires had hitherto been pulled, and The Fáṭimid dynasty founded by the Mahdí ‘Ubaydu’lláh (909 a.d.). crossing over to Africa appeared as the long-expected Mahdí under the name of ‘Ubaydu’lláh. He gave himself out to be a great-grandson of the Imám Muḥammad b. Ismá‘íl and therefore in the direct line of descent from ‘Alí b. Abí Ṭálib and Fáṭima the daughter of the Prophet. We need not stop to discuss this highly questionable genealogy from which the Fáṭimid dynasty derives its name. In 910 a.d. ‘Ubaydu’lláh entered Raqqáda in triumph and assumed the title of Commander of the Faithful. Tunis, where the Aghlabites had ruled since 800 a.d., was the cradle of Fáṭimid power, and here they built their capital, Mahdiyya, near the ancient Thapsus. Gradually advancing eastward, they conquered Egypt and Syria as far as Damascus (969-970 a.d.). At this time the seat of government was removed to the newly-founded city of Cairo (al-Qáhira), which remained for two centuries the metropolis of the Fáṭimid Empire.[505]

The Shí‘ite Anti-Caliphs maintained themselves in Egypt until 1171 a.d., when the famous Saladin (Ṣaláḥu ’l-Dín b. The Ayyúbids (1171-1250 a.d.). Ayyúb) took possession of that country and restored the Sunnite faith. He soon added Syria to his dominions, and "the fall of Jerusalem (in 1187) roused Europe to undertake the Third Crusade." The Ayyúbids were strictly orthodox, as behoved the champions of Islam against Christianity. They built and endowed many theological colleges. The Ṣúfí pantheist, Shihábu ’l-Dín Yaḥyá al-Suhrawardí, was executed at Aleppo by order of Saladin's son, Malik al-Ẓáhir, in 1191 a.d.

The two centuries preceding the extinction of the ‘Abbásid Caliphate by the Mongols witnessed the rise and decline of The Seljúqs (1037-1300 a.d.). the Seljúq Turks, who "once more re-united Muḥammadan Asia from the western frontier of Afghanistan to the Mediterranean under one sovereign." Seljúq b. Tuqáq was a Turcoman chief. Entering Transoxania, he settled near Bukhárá and went over with his whole people to Islam. His descendants, Ṭughril Beg and Chagar Beg, invaded Khurásán, annexed the western provinces of the Ghaznevid Empire, and finally absorbed the remaining dominions of the Buwayhids. Baghdád was occupied by Ṭughril Beg in 1055 a.d. It has been said that the Seljúqs contributed almost nothing to culture, but this perhaps needs some qualification. Although Alp Arslán, who succeeded Ṭughril, and his son Malik Sháh devoted their energies in the first place to military affairs, the latter at least was an accomplished and enlightened monarch. "He exerted himself to spread the benefits of civilisation: he dug numerous canals, walled a great number of cities, built bridges, and constructed ribáṭs in the desert places."[506] He was deeply interested in astronomy, and scientific as well as theological studies received his patronage. Any shortcomings of Alp Arslán and Malik Sháh in this respect were amply repaired by their famous minister, Ḥasan b. ‘Alí, the Niẓámu ’l-Mulk or 'Constable of the Empire,' to give him the title which he has made his own. Like so many great Viziers, he was a Persian, and his achievements must not detain us here, but it may be mentioned that he founded in Baghdád and Naysábúr the two celebrated academies which were called in his honour al-Niẓámiyya.