Alaattin Ali of Karaman
Alaeddin Ali of Karaman (aka Damat Ali Bey) was a bey of Karaman Beylik, a Turkish principality in Anatolia in the 14th century. Like most other Karaman beys, Ali Bey was a rival of the rising Ottoman Empire, and the two principalities engaged in chronic wars against one another. Early life. His father was Halil Bey. After his brother Süleyman ascended to throne he was appointed as the governor of Ermenek. However, after his brother was assassinated in Karaman, he succeeded his brother in 1361. He had family ties to the Ottoman dynasty, for he married  Nefise Hatun, Murat I's daughter. War with the neighbours. In the 14th century Anatolia was in turmoil. In addition to Karaman beylik there were many other Anatolian beyliks. Ali invaded the territories of neighbouring beyliks; Hamidoğlu, Eretna and Germiyan. He even tried to raid Kadi Burhanettin's dominions, but without success. First war against the Ottoman Empire. Ottoman Sultan Murat was engaged in Rumeli (European section of the empire) and Ali saw his chance to capture Beysehir, an Ottoman fort in 1386. Murat returned to Anatolia and defeated Ali's forces in a location named "Frenkyazısı", near Konya, the  capital. According to Professor Halil İnalcık, the importance of this battle was that it showed the superiority of regular army (janissaries) over tribal forces. After Nefise's mediation however, Murat agreed to withdraw on the condition that Beyşehir be handed to Ottomans. Second war against the Ottoman Empire. After Murat I was killed in the battle of Kosovo in 1389, Ali invaded Ottoman territory for the second time. But in 1390, Beyazıt I, the new sultan, returned to Anatolia and after defeating minor beyliks he began preparing for final assault to Karaman beylik. Two other monarchs in Anatolia, Kadı Burhanettin  and Süleyman of Candar however, afraid of the rising Ottoman power, formed an alliance against Ottomans. Ottomans once again agreed to lift the siege with the similar conditions as of 1386. Relations with Timur. In 1394 the Turco Mongol commander Timur from the present day Uzbekistan, sought alliances in Anatolia and Ali readily accepted the offer. By this alliance, he planned to gain a valuable shelter against the Ottoman Empire and Kadı Burhanettin two powers he most feared. But Timur didn't appear in Anatolia till 1402 and his shelter wasn't effective as Ali expected. Although he tried to  raid Burhanettin's territory, Burhanettin struck back. Third war against the Ottoman Empire and death. While Beyazıt was engaged in Wallachia (southern Romania) Ali invaded Ottoman territory once more. This time the target was Ankara. He arrested Timurtaş Pasha, the beylerbey of Anatolia. In 1398 Beyazıt once again returned to Anatolia, disregarding Ali's peace calls, he captured Konya and had Ali executed. After death. All Karaman territory was annexed by the Ottomans and two of his sons Mehmet II and Bengi Ali were jailed. However, few years later following the defeat of Beyazıt by Timur in the battle of  Ankara the beylik was restored.