This was the capital of Muslim Spain under the Umayyad dynasty. In the 10th century it was the largest city in Europe with half a million inhabitants. Cordoba had paved streets and streetlights a thousand years before they existed in London. There were dozens of libraries and hundreds of mosques.