During the post-Seljuk era in the second half of the 13th century, numerous Turkoman principalities, which are collectively known as the Anatolian beyliks, emerged in Anatolia.
Initially the Karamanids, centered on the modern provinces of Karaman and Konya, were the most important power in Anatolia.
But towards the end of the 14th century the Ottomans began to dominate most of Anatolia, reducing Karamanid influence and prestige.
Thus the campaign of Timur to Anatolia and the ensuing Ottoman Interregnum gave the Karamanids a chance for revival.
Murat, caught between two fires, had to sign the Treaty of Szeged with the crusaders and then returned to Anatolia and retaliated.
Ibrahim captured the important castle of Corycus in Mediterranean coast (modern Kızkalesi) from the kingdom of Cyprus in 1448.
He is depicted as a bey provoked by Emperor Constantine XI (Recep Aktuğ) to rebel against the Ottoman Empire.