Kilij Arslan I
When Malik Shah I died in 1092, the empire split as his brother and four sons quarreled over the apportioning of the empire among themselves. In Anatolia, Malik Shah I was succeeded by Kilij Arslan I who founded the Sultanate of Rûm and in Syria by his brother Tutush I. In Persia he was succeeded by his son Mahmud I whose reign was contested by his other three brothers Barkiyaruq in Iraq, Muhammad I in Baghdad and Ahmad Sanjar in Khorasan. As Seljuq power in Iran weakened, other dynasties began to step up in its place, including a resurgent Abbasid caliphate and the Khwarezmshahs. The Khwarezmid Empire was a Sunni Muslim Persianate dynasty, of East Turkic origin, that ruled in Central Asia. Originally vassals of the Seljuqs, they took advantage of the decline of the Seljuqs to expand into Iran. In 1194 the Khwarezmshah Ala ad-Din Tekish defeated the Seljuq sultan Toghrul III in battle and the Seljuq empire in Iran collapsed. Of the former Seljuq Empire, only the Sultanate of Rum in Anatolia remained.