Anamur, Mamure castle
The castle was built on the foundation of an ancient castle built by the Roman Empire in the forth century, undoubtedly against pirates. It was later on repaired by the Byzantine Empire and the Crusades. When Alaattin Keykubat I of Seljuk Turks captured the ruins of the castle in 1221, he built a larger castle partially using the foundation of the former castle. It was later on incorporated into the realm of Karamanids (A Turkish state in Anatolia in the Medieval ages.) Although the exact date is uncertain, according to an inscription erected by İbrahim II of Karaman in 1450, the castle was captured during Mahmut's reign (1300–1308). The castle was renamed as Mamure (prosperous) after repaired by Mahmut. In 1475, the castle was annexed by the Ottoman Empire. During Ottoman reign, the castle was repaired in the 15th, 16th and 18th centuries and a part of the castle was used as a cervansarai.