Anatolian beyliks
By the early 13th century Niğde was one of the largest cities in Anatolia. After the fall of the Sultanate of Rûm (of which it had been one of the principal cities), Niğde was captured by Anatolian beyliks such as Karaman Beylik and Eretna Beylik. According to Ibn Battuta, ruinous, and did not pass into Ottoman hands till the time of Mehmet II.