Sunnism and Shi'ism
The success of the Seljuks, who made the Fatimids withdraw from the East, was naturally also the victory of Sunnism, and thereafter the Seljuk rulers counted the uniting of the Islamic world under the banner of Sunnism among their principal aims. After Tuğrul Bey, Sultan Alp Arslan, while having the khutba read in Mecca and Medina in his own name and that of al-Qa'im, and strengthening Sunnism intellectually and in thought by means of the Nizamiyya madrasas he had founded in Baghdad and other important centers, was at the same time preparing to destroy the Fatimids. Sultan Malikshah, who had ordered the Turkmen units in Syria to continue their advance, entered into a fierce struggle with Hasan Sabbah — the head of Batinism, which, again supported by Fatimid propaganda, was conducted under the slogan "Dâvet-i cedîde" (the New Call), and who, having seized the famous fortress of Alamut (the Eagle's Nest) on the crags near Qazvin, was trying to bring down the Seljuk Empire from within through a terrible underground activity in that region — and in his last days had planned the conquest of Egypt. This Seljuk policy, directed at the destruction of Shi'ism, which was of such vital importance for Turkish-Islamic rule, and of Batinism, whose adherents were nothing but a network of assassins, was followed and brought to success by the Ayyubids, who in thought, organization and political aim were in the position of a continuation of this Turkish empire, and Salah al-Din al-Ayyubi (Saladin) destroyed the Fatimids (1171) and founded his own Sunni state.
The sultans of the Turkish State of Egypt also walked in the same path. This policy — after Aybeg and Qutuz, who struggled against Ismailism, one of the branches of Batinism — virtually acquired official status with Sultan Baybars, who, after the Abbasid caliph of Baghdad was killed by Hulagu in 1258, proclaimed al-Musta'sim billah of the same family caliph in Cairo (1261), and it continued until the end of the Ottomans. It is known that the same policy was also pursued by the other Seljuk states, the Khwarazmshahs, the Delhi Sultanate, the Turkmen Beyliks and the Atabegates.
Among the atabeys, Gök-börü of the Begteginids made a remarkable effort in this respect. This atabey, who founded many religious and social institutions in Erbil and was himself one of the notable mujahids, was the first to introduce in his country the practice of celebrating the birth of our Prophet as a general festival in which the masses of the people took part, in such a way as to bring about complete fusion among Muslims; this kind of mawlid ceremony later became customary in all Islamic countries.