Built in the foothills of the Sierra Morena by Abd al-Rahman III (891–961) for his favorite concubine, al-Zahra (the Flower), the construction of this once-splendid summer pleasure palace was begun in 936. Historians say it took 10,000 men, 2,600 mules, and 400 camels 25 years to erect this fantasy of 4,300 columns in dazzling pink, green, and white marble and jasper brought from Carthage. A palace, a mosque, luxurious baths, fragrant gardens, fish ponds, an aviary, and a zoo stood on three terraces here; for around 70 years the Madinat was the de facto capital of al-Andalus, until, in 1013, it was sacked and destroyed by Berber mercenaries. In 1944, the Royal Apartments were rediscovered, and the throne room carefully reconstructed. The outline of the mosque has also been excavated. The only covered part of the site is the Salon de Abd al-Rahman III (open weekends only in 2025, after 13 years of restoration work; book via the website); the rest is a sprawl of foundations and arches that hint at the splendor of the original city-palace. Begin at the visitor center, which provides background information and a 3D reconstruction of the city, and continue to the ruins, around 2 km (1 mile) away. You can walk, but it's uphill, so consider taking the shuttle bus (€3, or included in the €9 bus ticket from the Paseo de la Victoria in the city center). Services run twice daily Tuesday–Friday and Sunday, and thrice daily on Saturday. The tourist office can provide schedule details. Allow 2½ to 3 hours for your visit. You can visit the ruins at night Tuesday–Saturday between mid-June and mid-September.