The famed Pompeius struck a heavy blow against the domination of pirates along the Mediterranean coast. He also had the city walls once built by the pirate Tryphon, demolished. The castle was used in later centuries and underwent minor repairs. Most of the castle was built in the beginning of the 13th century on the remnants of earlier fortifications during the era of Sultan Alaeddin Keykubad I who conquered the city. The castle consists of three parts which are separated from each other with inner ramparts. The Sultans’ living quarters are situated on a higher elevation in the smaller part of the castle. Northwest of the castle at a lower elevation are the remnants of the palace cisterns, chapel and dungeon. The Bedesten, situated in the citadel of Alanya Castle has been recently restored and is used today as a shopping and recreational area. Built by the first military user of the citadel, Akşebe Sultan, it is one of the most visited places along with Süleymaniye Mosque and the Alanya House, restored by Alanya Municipality.
One of the notable structures in the castle are the cisterns. Besides the many cisterns that are located on the bastions of the defensive walls there are also remnants of cisterns which were used to meet the needs of the population living within the walls. The Kızıl Kule (Red Tower) on the eastern side of the Castle is a unique example of Seljuk architecture. To the south of Kızıl Kule lies the dockyard with its five docks and was built around the same time as the tower.