Upon the death of Kaykhusraw I at the Battle of Alaşehir in 1211, Kaykaus’ two younger brothers, Kayferidun Ibrahim and the future Kayqubad I, challenged his succession. Kayqubad initially garnered some support among the neighbors of the sultanate, Leo I, the king of Cilician Armenia, and Tughrilshah, his uncle and the independent ruler of Erzurum. At the same time, Kayferidun imperiled the recently acquired port of Antalya by seeking aid from the Cypriot Franks. Most of the emirs, as the powerful landed aristocracy of the sultanate, supported Kaykaus. From his base in Malatya, Kaykaus seized Kayseri and then Konya, inducing Leo to change sides. Kayqubad was forced to flee to the fortress at Ankara, where he sought aid from the Turkman tribes of Kastamonu. Kaykaus soon apprehended both of his brothers and secured the throne for himself.