structural:expansion, linguistic:translation, linguistic:voice_change, structural:scholar_edition
Rule

Abd al Rahman's rule was stable in the years after his conquest – he built major public works, most famously the Mosque of Córdoba, and helped urbanize the emirate while defending it from invaders, including the quashing of numerous rebellions, and decisively repelling the invasion by Charlemagne (which would later inspire the epic, Chanson de Roland). By far the most important of these invasions was the attempted reconquest by the Abbasid Caliphate. In 763 Caliph Al-Mansur of the Abbasids installed al-Ala ibn-Mugith as governor of Africa (whose title gave him dominion over the province of al-Andalus). He planned to invade and destroy the Emirate of Córdoba, so in response Abd al Rahman fortified himself within the fortress of Carmona with a tenth as many soldiers as al-Ala ibn-Mugith. After a long siege, it appeared that Abd al Rahman would be defeated, but in a last stand Abd al Rahman with his outnumbered forces opened the gates of the fortress and charged at the resting Abbasid army, and decisively defeated them. After being sent the embalmed head of al-Ala ibn-Mugith, it is said Al Mansur exclaimed "Praise be to God who has put the sea between me and this devil!".

Abd al Rahman I died in 788 after a lengthy and prosperous reign. He was succeeded by his son, Hisham I, who secured power by exiling his brother who had tried to rebel against him. Hisham enjoyed a stable reign of eight years and was succeeded by his son Al-Hakam I. The next few decades were relatively uneventful, with only occasional minor rebellions, and saw the rise of the emirate. In 822 Al Hakam died and was succeeded by Abd al-Rahman II, the first great emir of Córdoba. He rose to power with no opposition and sought to reform the emirate. He quickly reorganized the bureaucracy to be more efficient and built many mosques across the emirate. During his reign science and art flourished, as many scholars fled the Abbasid caliphate due to the disastrous Fourth Fitna. The scholar Abbas ibn Firnas made an attempt to fly, though accounts vary on his success. In 852 Abd al Rahman II died, leaving behind him a powerful and well-established state that had become one of the most powerful in the Mediterranean.

Abd al Rahman was succeeded by Muhammad I of Córdoba, who according to legend had to wear women's clothing to sneak into the imperial palace and be crowned, since he was not the heir apparent. His reign marked a decline in the emirate, which was ended by Abd al-Rahman III. His reign was marked by multiple rebellions, which were dealt with poorly and weakened the emirate, most disastrously following the rebellion of Umar ibn Hafsun. When Muhammad died, he was succeeded by emir Abdullah ibn Muhammad al-Umawi whose power barely reached outside of the city of Córdoba. As Ibn Hafsun ravaged the south, Abdullah did almost nothing, and slowly became more and more isolated, barely speaking to anyone. Abdullah purged his administration of his brothers, which lessened the bureaucracy's loyalty towards him. Around this time several local Arab lords began to revolt, including one Kurayb ibn Khaldun, who was able to conquer Seville. Some loyalists tried to quell the rebellion, but without proper material support, their efforts were in vain.

He declared that the next emir would be his grandson Abd al-Rahman III, ignoring the claims of his four living children. Abdullah died in 912, and the throne passed to Abd al Rahman III. Through force of arms and diplomacy, he put down the rebellions that had disrupted his grandfather's reign, obliterating Ibn Hafsun and hunting down his sons. After this he led several sieges against the Christians, sacking the city of Pamplona, and restoring some prestige to the emirate. Meanwhile, across the sea the Fatimids had risen up in force, ousted the Abbasid government in North Africa, and declared themselves a caliphate. Inspired by this action, Abd al Rahman joined the rebellion and declared himself caliph in 929.

For nearly 100 years under the Córdoban Umayyad period, from the 9th century to the 10th, al-Andalus also extended its presence from Fraxinetum into the Alps with a series of organized raids.