Babai revolt
The Babai revolt was a thirteenth-century rebellion that took place in the southeastern territories of the Sultanate of Rum starting in 1239 and lasting for three years. The revolt was spearheaded by Baba Ishak, who led the Turkomans against the authority of the Sultanate.
The revolt
Gıyasettin had ceded power to his ministers, notably Sa'd al-Din Köpek, who was suspicious of a rebellion by Afshar immigrants who had settled in Anatolia, migrating from Persia after the Mongol invasion. He accordingly imprisoned the suspects which led to their movement towards Aleppo within the Nizari Ismaili state. He had the leaders from Khwarazm imprisoned.The revolt began in 1239 around Samsat and spread quickly to Central Anatolia. Baba Ishak, who led the revolt, was a follower of Baba Ilyas, the qadi of Kayseri. He declared himself Amir al-Mu'minin, Sadr al-Dunya wa l-Dīn, and "Messenger of God." Although the Seljuk governor of Malatya tried to suppress the revolt he was defeated by the revolutionaries around Elbistan. The revolutionaries captured the important cities of Sivas, Kayseri and Tokat in Central and North Anatolia. The governor of Amasya killed Baba Ishak in 1240, but this did not mean the end of the revolt. The revolutionaries marched on Konya, the capital. The sultan saw that his army could not suppress the revolt, and he hired mercenaries of French origin. The revolutionaries were defeated in a decisive battle on the Malya plains near Kırşehir.