The Battle of Yassıçemen was a battle fought in Anatolia, in what is now Erzincan Province, Turkey in 1230. Background Jalal ad-Din was the last ruler of the Khwarezm Shahs. The territory of the empire had been annexed by the Mongol Empire during the reign of Jalal ad-Din’s father Muhammad II; but Jalal ad-Din continued to fight with a small army. In 1225, he retreated to Azerbaijan and founded a principality around Maragheh, East Azerbaijan. Although initially he formed an alliance with the Seljuk Sultanate of Rûm against the Mongols, for reasons unknown he later changed his mind and began hostilities against the Seljuks. In 1230, he conquered Ahlat, (in what is now Bitlis Province, Turkey) an important cultural city of the era from the Ayyubids which led to an alliance between the Seljuks and Ayyubids. Jalal ad-Din on the other hand allied himself with Jahan Shah, the rebellious Seljuk governor of Erzurum. The battle The battle took place in Yassıçemen, a location west of Erzincan. Jalal ad-Din tried to attack before the merging of the Seljuk and Ayyubid armies, but it was too late, as the Ayyubids had already sent a reinforcement of 10,000 to the Seljuks. The commander of the Seljuk-Ayyubid army was the Seljuk sultan Ala-ad Din Kayqubad I. The battle continued for three days. The alliance's numerical superiority was at least two-folds. Prelude Both armies sent their detachment forces. The two detachment forces met on the 10th of August, 1230. The Khwarezmian detachment consisting of 700 strong defeated the detachment forces of the alliance consisting of 3,000 strong. The alliance's morale was low after the defeat of their detachment but as new reinforcements came, the morale was restored. Main battle The Khwarezmian army was structured enclosing the plain. The alliance units attacked on the Khwarezmian army and the Khwarezmian retaliated in the same way. Jalal al-Din stood on a hill and coordinated his army. During the first day, the alliance seized some positions from the Khwarezmians but the occupiers abandoned the newly captured positions at night. Jalal al-Din refrained from attacking. The alliance again started an attack on the next dawn but they were repelled back. After repelling the allied army, the Khwarezmians charged forward and forced Kaykubad I to retreat further. The lost positions were captured back. Al-Ashraf, the commander of the Mamluk army, reinforced Kaykubad's divisions. After seeing the reinforcements, Jalal al-Din concluded that