On the southeast edge of town the highway goes right past Mamure Kalesi—a castle constructed in Roman times to protect the city from seaborne raiders. It was expanded by the Seljuks, who captured it in the 13th century, and later rebuilt by the Karamanoğulları, who controlled this part of Anatolia after the Seljuk Empire collapsed. Note the inscription to the Karamanoğulları prince, İbrahim Bey II, dating from 1450. The place is so impressively preserved you'd think
it was a modern reconstruction.