From a troubled emirate to a caliphate
Córdoba had been the capital of al-Andalus since about 717, and the seat of the independent Umayyad emirs since Abd al-Rahman I took power there in 756. By the late 9th century their rule had shrunk almost to the city itself. Arab lords, Berber chiefs and converts of local stock held their own regions, and the rebel Umar ibn Hafsun, from his fortress of Bobastro in the mountains near Málaga, defied Córdoba for more than thirty years.
Abd al-Rahman III became emir in 912, aged about twenty. He spent the next two decades winning back the provinces one by one, and Bobastro fell in 928. In January 929 he proclaimed himself caliph, commander of the faithful, a title his family had not claimed since it lost the east in 750. The reason was partly rivalry: in 909 the Shiite Fatimids had proclaimed a caliphate of their own in North Africa, while the Abbasid caliphs in Baghdad had grown weak.
The new caliph was not unbeatable. In 939 Ramiro II of León routed his army at Simancas, and after that Abd al-Rahman III never again led a campaign in person. But he held al-Andalus together until his death in 961, built forts along the frontier and took Ceuta and other ports in North Africa to keep the Fatimids away. His son al-Hakam II, caliph from 961 to 976, inherited a state at peace and at the height of its wealth.
| Years | Ruler | Note |
|---|---|---|
| 912–961 | Abd al-Rahman III | emir, caliph from 929 |
| 961–976 | al-Hakam II | caliph |
| 976–1009 | Hisham II | caliph in name, a child at his accession |
| 978–1002 | Almanzor | chief minister (hajib), the real ruler |
| 1002–1008 | Abd al-Malik | Almanzor’s son, hajib |
| 1009–1031 | rival caliphs | civil war, the fitna |
A court the world sent envoys to
Córdoba’s court drew embassies from far away. In 949 envoys of the Byzantine emperor Constantine VII brought gifts, among them a Greek copy of Dioscorides’ book on medicinal plants, which a Greek monk sent from Constantinople then helped to translate into Arabic. In the 950s Otto I, king of Germany, sent the monk John of Gorze, who waited nearly three years for an audience. The caliph’s envoy to Otto was Recemund, a Christian of Córdoba whom he had made bishop of Elvira.
The Christian north came too. In 958 King Sancho I of León, deposed by his nobles and so fat he could hardly ride, travelled to Córdoba with his grandmother, Queen Toda of Pamplona. The caliph’s Jewish physician and minister, Hasdai ibn Shaprut, treated him, and a Córdoban army helped him win back his throne in 959. Hasdai was also the patron of Hebrew poets and scholars. Christians, the Mozarabs, and Jews lived in the city as dhimmi, protected but taxed and ranked below Muslims.
How the caliphate was paid for
The caliphate’s wealth came from land and trade. Irrigated farms along the Guadalquivir and the coasts grew wheat, olives and fruit, and crops that were rare in Europe, such as rice, sugar cane and cotton, were grown in al-Andalus; how many of them the Arabs first brought in is debated. Silk, leather and ceramics were sold across the Mediterranean, and the caliph’s fleet was based at Almería. From 929 Córdoba minted gold dinars, a sign of both sovereignty and wealth.
Muslims paid the alms tax, zakat, and land taxes; Christians and Jews paid in addition the poll tax required of dhimmi. The money paid for a large salaried army, more and more made up of Berbers from North Africa and of slaves from Christian Europe, the Saqaliba, rather than of local Arab lords. A later historian, al-Maqqari, records the tradition that Abd al-Rahman III split his revenue into three parts: one for the army, one for buildings and one kept in reserve.
A mosque and a palace city
The Great Mosque of Córdoba, begun by Abd al-Rahman I in 785, grew with the dynasty. Its forest of columns and double arches, striped in red brick and white stone, was extended again and again. Al-Hakam II added a new prayer hall with a domed mihrab covered in gold mosaics, made with the help of a craftsman and materials sent by the Byzantine emperor. Almanzor’s extension of 987 made it one of the largest mosques in the world.
Around 936 Abd al-Rahman III began a new palace city a few kilometres west of Córdoba, Medina Azahara, Madinat al-Zahra. Built in terraces on a hillside, it held the caliph’s halls, offices, a mint, gardens and barracks, and the court moved there in the 940s. Envoys were led through it to be received in halls of marble and gold. It was used for only about seventy years: soldiers sacked it in the civil war after 1010, and its stone was carried off for centuries.
| Years | Who | What was done |
|---|---|---|
| 785–786 | Abd al-Rahman I | the first mosque, eleven aisles |
| 833–848 | Abd al-Rahman II | prayer hall lengthened to the south |
| 951–952 | Abd al-Rahman III | a new, taller minaret |
| 962–966 | al-Hakam II | new hall and mosaic mihrab |
| 987–988 | Almanzor | eight aisles added to the east |
| 1236 | Ferdinand III | consecrated as a cathedral |
| from 1523 | the cathedral chapter | a Renaissance nave built in its centre |
Dates as usually given; the first phases are known from later Arabic writers and from archaeology.
Books and learning
Al-Hakam II was a scholar and a collector of books. He sent agents to buy manuscripts in Cairo, Baghdad and Damascus and kept copyists, binders and translators at work in his palace. Córdoba had many mosque schools and private libraries, and the court supported jurists, grammarians, poets and historians. The physician al-Zahrawi, known in Latin as Abulcasis, wrote a medical encyclopedia whose part on surgery was used in Europe for centuries. The astronomer Maslama al-Majriti worked on the tables of the stars.
The fame reached Christian Europe. The Saxon nun Hrotsvitha of Gandersheim, writing in the 960s about a boy from Galicia martyred in Córdoba in 925, called the city the ornament of the world. A calendar of farming and feast days made in 961, the Calendar of Córdoba, was the joint work of Recemund and the Muslim scholar Arib ibn Sad. Two centuries later the city still produced great minds: Averroes was born there in 1126 and Maimonides around 1138.
Almanzor, ruler in the caliph’s name
When al-Hakam II died in 976 his son Hisham II was about eleven. Power passed to a court official, Muhammad ibn Abi Amir, who removed his rivals one by one and in 978 became hajib, chief minister. He took the name al-Mansur, “the victorious”, which Christians wrote as Almanzor. He kept the caliph shut away in his palace, built his own palace city east of Córdoba and governed in Hisham’s name until his death in 1002.
Almanzor rested his power on war. The chronicles credit him with more than fifty campaigns against the Christian north. He sacked Barcelona in 985 and León soon after, and in 997 he sacked Santiago de Compostela, carrying its church bells to Córdoba to hang as lamps in the mosque. He also hired Christian knights and recruited many new Berber troops from North Africa. His armies won almost every fight, but they took booty, not land, and his regime depended on one man.
Twenty years of civil war
Almanzor’s son Abd al-Malik ruled in the same way until 1008. His brother Abd al-Rahman, nicknamed Sanchuelo, “little Sancho”, after his grandfather the king of Pamplona, went further and had Hisham II name him heir to the caliphate. In 1009 Córdoba rose against him and he was killed. What followed, the fitna, was twenty years of war between rival Umayyad claimants backed by Córdoba’s people, the Berber troops and the Slav generals. Berber soldiers sacked Medina Azahara and, in 1013, Córdoba itself.
Christian rulers joined in as allies and paid troops: Castilian and Catalan armies marched into Córdoba for one claimant or another. In 1031 the city’s notables deposed the last caliph and declared the caliphate abolished. Governors, generals and local families had already made their provinces into small kingdoms, the taifas. Córdoba became one of them, its great age over. What followed is told in The taifas and the African empires, and the whole story in What was the Reconquista?