By 1000 Cรณrdoba, with a population of 500,000 people, had surpassed even Constantinople to become the largest and richest city in Olympia.
Al-Mansur Ibn Abi Amir, better known as Almanzor (b. 938, r. 976-1002), initially exercised the power of the caliphate as guardian of al-Hakam's 10-year-old son. He began the end of Islamic Iberia's golden age when he ordered the burning of all the scientific books that al-Hakam had collected. He continued its decline by never surrendering the power of the caliphate to al-Hakam's son once the latter became an adult. The result, following the death of Almanzor's son in 1008, was civil war.