魯姆蘇丹國
The town suffered because of Arab incursions, then was annexed (under the name of "Andifli") to the Anatolian Sultanate of Rum, led by the Seljuks. After the demise of the Seljuks, it came under the Ottomans.