Cuenca (Spanish pronunciation: [ˈkweŋka]) is a city in the autonomous community of Castile–La Mancha in central Spain. It is the capital of the province of Cuenca.
Its name may derive from the Latin conca meaning "river basin", referring to the gorge of the rivers Júcar and Huécar. It may also be derived from the now-ruined Arab castle, Kunka. Other alternative original names have been suggested, including "Anitorgis", "Sucro" or "Concava". The city of Cuenca is also known as the "Eagle's Nest" because of its precarious position on the edge of a gorge. When the Iberian peninsula was part of the Roman Empire, there were several important settlements in the province, such as Segobriga, Ercavica and Gran Valeria. However, the place where Cuenca is located today was uninhabited at that time. When the Muslims captured the area in 714, they soon realized the value of this strategic location and they built a fortress (called Kunka) between two gorges dug between the Júcar and Huécar rivers, surrounded by a 1 km-long wall. Cuenca soon became an agricultural and textile manufacturing city, enjoying growing prosperity.