The Change in Islamic Public Law
In the Eastern Islamic world before the Seljuks there was political enmity created by local powers that had taken a stand against one another and, at the same time, enmity created among the people by various beliefs and sects; by contrast, the political and spiritual unity at the time when the Seljuk Empire flourished is the best expression of the definition of the Turkish Bey (ruler) in the Kutadgu Bilig. Because the Turkish heads of state, mostly referred to in the historical sources as "Es-sultan'ül-âdil" (the just sultan), carried out the "laws" of right and justice, masses adhering to various religions, sects and outlooks continued their daily lives in peace. Some internal struggles seen in the Empire and in the other Turkish-Islamic political formations — apart from the Babaî revolt (1239), which arose through the incitement of the people's religious feelings, and the efforts to resist the invading Mongols — were, as is known, the result above all of the ambition for power that arose among the princes, and because of the principle of "kut" in Turkish sovereignty the people did not concern themselves much with such matters. On the other hand, it is worth recalling the negative role played, when the Seljuk Empire broke up, by the caliphs who sought to take advantage of the weakness of the administration to re-establish their former worldly power — in the fall of the Iraqi Seljuk state and, above all, the role of the caliph al-Nasir li-Dinillah (1179–1229) in the collapse of the Khwarazmshah empire and in the falling of the Islamic-Turkish countries under the Mongol invasion. On the other side, the Turkish Sultan of Egypt, Baybars, placed a member of the Abbasid family (al-Muntasir billah) on the throne of the caliphate (1261), and in the Delhi sultanate too the same "secular" view remained in force. According to Ala al-Din Khalji, the state and the sharia were separate things, the one being the affair of the ruler and the other that of the kadis and muftis. In conclusion, this principle that the Turks brought to the Islamic world — that is, the idea that state authority, charged with protecting the public interest, stands above everything — prevailed in all the Turkish-Islamic states, and the caliphs, who contented themselves with confirming sultanates in a purely formal manner and bestowing robes of honor and titles, were not allowed to interfere in worldly affairs.
In the matter of sovereignty, the position of the sultans' consorts is also noteworthy. It is seen that the hatuns, who had no place in Islamic public law, sought to exercise their authority in the Turkish-Islamic states in accordance with old Turkish tradition. For example, the influence of Tuğrul Bey's wife over this famous sultan is mentioned in the sources. The wife of Sultan Malikshah, the Karakhanid princess Celâliye (Terken) Hatun, was also very influential in the administration of the state. It is known that political contacts were sometimes first made and brought to maturity with this hatun. The sources also record that this hatun had a separate divan (government) of her own. But in this respect the wife of the Khwarazmshah Ala al-Din Tekish and mother of Ala al-Din Muhammad Khwarazmshah, the Kangly princess Terken Hatun, is especially important: she had a separate Divan and a separate palace, and the sultan's orders were not considered valid without this hatun's signature. Toward the end of his reign the Khwarazmshah Muhammad had to withdraw to Samarkand and leave the capital, Gurganj, to her.