Afyonkarahisar (, "poppy, opium", kara "black", hisar "fortress") is a city in western Turkey. It is the administrative centre of Afyonkarahisar Province and Afyonkarahisar District. Its population is 251,799 (2021). Afyon is in the mountainous countryside inland from the Aegean coast, south-west of Ankara along the Akarçay River. In Turkey, Afyonkarahisar stands out as a capital city of hot springs and spas, an important junction of railway, highway and air traffic in West-Turkey, and the place where independence was won. In addition, Afyonkarahisar is one of the top leading provinces in agriculture, globally renowned for its marble and is the world's largest producer of pharmaceutical opium. Etymology The name Afyon Kara Hisar literally means opium black castle in Turkish, since opium was widely grown here and there is a castle on a black rock. Also known simply as Afyon. Older spellings include Karahisar-i Sahip, Afium-Kara-hissar and Afyon Karahisar. The city was known as Afyon (opium), until the name was changed to Afyonkarahisar by the Turkish Parliament in 2004. History The top of the rock in Afyon has been fortified for a long time. It was known to the Hittites as Hapanuwa, and was later occupied by Phrygians, Lydians and Achaemenid Persians until it was conquered by Alexander the Great. After the death of Alexander the city (now known as Akroinοn (Ακροϊνόν) or Nikopolis (Νικόπολις) in Ancient Greek), was ruled by the Seleucids and the kings of Pergamon, then Rome and Byzantium. The Byzantine emperor Leo III after his victory over Arab besiegers in 740 renamed the city Nicopolis (Greek for "city of victory"). The Seljuq Turks then arrived in 1071 and changed its name to Kara Hissar ("black castle") after the ancient fortress situated upon a volcanic rock 201 meters above the town. Following the dispersal of the Seljuqs the town was occupied by the Sâhib Ata and then the Germiyanids. The castle was much fought over during the Crusades and was finally conquered by the Ottoman Sultan Beyazid I in 1392 but was lost after the invasion of Timur Lenk in 1402. It was recaptured in 1428 or 1429. The area thrived during the Ottoman Empire, as the centre of opium production and Afyon became a wealthy city. From 1867 until 1922, Afyon was part of the Hüdavendigâr vilayet of the Ottoman Empire. In 1902, a fire burning for 32 hours destroyed parts of the city. During the 1st