 in 317BC it was incorporated into the Roman Empire.The Seljuks took the town around 1114AD.Some researchers believe that ancient city of "Diokleia in Phrygia" () was located near modern Yeşilhisar (formerly called "Ahırhisar"), while others assume that it was located near modern Doğlat.