Alanya (ancient Korckesion] which fe 168 kms. to the east of Antalya is situated on a rocky peninsula. With Its unique defensive position and well-sheltered harbour, the city played an important role during the Hellenistic period and served as a refuge for pirates under the Roman rule. After being captured by Alaeddin Keykubat I, the Seljuk Sultan, and turned into a naval base, the city grew in size and population and was called Aiaiye which later became Alanya. Following the decline of the Seljuks, Alanya passed into the hands of the Karamanlis.
Remains of the walls from the Classical age can still be seen on the peninsula. The present castle built by Alaeddin Keykubat ! consists of three walls. In the early ages there were boat stations along the sea where ships loaded cedar. Owing to its strong defenses Korakesion was able to resist successfully the troops of Antiochue who Invaded Cilicia. Alanya assumed importance in the Seljuk period with its shipbuilding Industry, but it suffered heavy destruction later during the battles between the armies of Sultan Mehmet II, and Karamanogul-lan, ond like other cities in this region, it never regained its former level of prosperity.
The Walls: The old part of the city is surrounded by walls. The outer walls surrounded the peninsula, and the inner walls divided the Castle into three parts for defensive purposes and were built during the reign of Alâeddln Keykubat I: Remains of an older wall dating bock to Greek and Roman times can also be seen here and there. One can go from one of these sections to another by means of fortified courtyards. The highest section is the Inner Castle. The original Seljuk and Ottoman settlements were in the section between the Second and Third Wails, There is an inscription belonging to Keykubat 1, above the entrance to the First Wall. This inscription is dated 1230. There are in this part, the Castle Mosque (Kale Camii) which is built on the foundations of a Seljuk Mosque in the XVIth century, the Bedesten, the Mosque and the Türbe (tomb) of Akshebe Sultan, The entrances to the Inner, Middle and Outer Walls, and their inscriptions date from the Seljuk period. The Castle Walls are twa-storled. The Castle has four main entrances, which were formerly covered with three layers of iron‘plates.
The Bedesten: This is a Turkish building in the inner Castle to the northeast of the Mecdiiddln reservoir and Akshebe Mosque. !t consists of 26 rooms and a store-house all looking on a rectangular courtyard 13 meters wide and 35 meters fong. There are two rooms on both sides of the entrance, four rooms on the opposite side, and ten rooms on the longer sides of the rectangular courtyard. The rooms are 3.50 x 5,40 meters, end their entrances are built of brick In arched form. The Bedesten Is believed to be either a store-house for the Castle or an Inn.