 Complete the following phrase:  Heraclea Cybistra under the name Cybistra Ηράκλεια Κυβίστρα in Ancient Greek, had some importance in Hellenistic times owing to its position near the point where the road to the Gülek Pass Cilician Gates enters the hills. It lay in the way of armies and was more than once sacked by the Arab invaders of Asia Minor AD 805 and 832. During the Crusade of 1101 it was the scene of a failed battle of 15,000 men led by William II, Count of Nevers, which left the Crusaders weak en route to Antioch. It became Turkish Seljuk in the 11th century. Ereğli is also known for being the first capital of the Karaman Beylik founded by Nure Sufi Bey. The Karaman state was renowned for being a consistent nuisance to Ottoman domice in Anatolia, being one of the few Anatolian beyliks to retain sovereignty well past Fatih Sultan Mehmets 