Al-Andalus: History of Islamic Spain from 711 to 1492

In 711 CE, a commander named Tariq bin Ziyad crossed the narrow strait between Africa and Europe and landed beside a great rock that still carries a form of his name, Gibraltar. Within a few years, most of the Iberian Peninsula had come under Muslim rule. The result was Al-Andalus, the name given to Islamic Spain, which lasted nearly eight centuries and ranks among the most influential chapters of Islamic history.


Al-Andalus was the Muslim-ruled part of the Iberian Peninsula from 711 CE until the fall of Granada in 1492 CE. It was ruled in turn by Umayyad emirs and caliphs from Cordoba, by regional taifa kingdoms, by the Almoravids and Almohads, and finally by the Nasrids of Granada.

PeriodYearsMain centre
Conquest and governors711-756Cordoba
Emirate of Cordoba756-929Cordoba
Caliphate of Cordoba929-1031Cordoba
Taifa kingdoms1031-1086Seville, Toledo, Granada
Almoravids and Almohads1086-1236Seville, Marrakesh
Emirate of Granada1238-1492Granada

The Conquest of Spain (711-756)

Tariq bin Ziyad, a general serving the Umayyad governor Musa ibn Nusayr, landed in southern Spain in 711 CE with several thousand men. He defeated the Visigothic king Roderic at the Battle of Guadalete, and the Visigothic kingdom, already weakened by civil strife, collapsed quickly. We tell the story of this campaign in our post on Tariq bin Ziyad.

By around 720, Muslim forces held most of the peninsula and had pushed north of the Pyrenees. Their advance in France was stopped at the Battle of Tours in 732. The province was then governed from Cordoba as part of the Umayyad empire, which we compare with its successor in our guide to Umayyad vs Abbasid caliphate.

The Emirate of Cordoba (756-929)

When the Abbasids overthrew the Umayyads in 750, a young prince named Abd al-Rahman escaped to North Africa and reached Spain in 755. He defeated the local governor in 756 and founded an independent Umayyad emirate at Cordoba. He later began the Great Mosque of Cordoba, one of the finest buildings of the medieval world.

The emirs built a strong state, a paid army and a tax system. They also faced revolts from Arab and Berber groups, and from converts who wanted equal treatment, which kept Al-Andalus unsettled for long stretches.

The Great Mosque of Cordoba shows the ambitions of these rulers. Successive emirs and caliphs enlarged it, and its forest of double-arched columns in red and white stone became its most recognisable feature. The mosque stood beside a river, a bridge and a busy market, and visitors from across Europe described the city's size and order.

The Caliphate of Cordoba (929-1031)

Abd al-Rahman III took the title of caliph in 929, partly in answer to the Fatimid caliphate rising in North Africa. His reign and that of his son al-Hakam II were the high point of Al-Andalus. Cordoba grew into one of the largest cities in Europe, with paved streets, lamps, public baths and a royal library that sources say held tens of thousands to several hundred thousand volumes.

He also built Madinat al-Zahra, a palace city near Cordoba, from 936. The caliphate began to decline after the strongman al-Mansur, known in Europe as Almanzor, died in 1002. A civil war followed, and in 1031 the caliphate was abolished.

The Taifa Kingdoms and the Almoravids (1031-1147)

Al-Andalus now split into more than twenty small kingdoms called taifas, based in cities such as Seville, Toledo, Granada and Zaragoza. Many of these courts supported poets and scholars, but the rulers were weak and often fought each other, while the Christian kingdoms of the north grew stronger.

In 1085, King Alfonso VI of Castile took Toledo. The taifa rulers asked the Almoravids, a Berber dynasty from Morocco, for help, and their army defeated Alfonso at Zallaqa in 1086. The Almoravids then took over the taifa states and ruled Al-Andalus from Marrakesh.

Despite political division, culture did not decline. Seville, Toledo and Zaragoza became rival centres of poetry, science and music, and rulers competed to attract the best scholars. Ibn Hazm, a Cordoban thinker who wrote on theology, law and love, lived through this period of upheaval and wrote some of the most original works of the age.

The Almohads and the Turning Point

The Almohads, another Berber movement, replaced the Almoravids from 1147. They won a major victory at Alarcos in 1195, but in 1212 they were defeated at Las Navas de Tolosa by a joint army of the Christian kingdoms. This battle is usually seen as the turning point of the long conflict.

After that, Muslim territory shrank fast. Cordoba fell to Ferdinand III of Castile in 1236, Valencia to the crown of Aragon in 1238, and Seville to Castile in 1248. The great mosque of Cordoba was turned into a cathedral.

The Emirate of Granada (1238-1492)

Only Granada held out. Muhammad ibn al-Ahmar founded the Nasrid dynasty there in 1238, and it survived for more than two and a half centuries by paying tribute to Castile and trading with Mediterranean powers. The Nasrids built the Alhambra, a palace-fortress with courtyards, fountains and carved stucco that remains one of the best-known monuments of Islamic art.

Granada's last years were marked by division. Rival princes within the Nasrid family fought for the throne, which let Ferdinand and Isabella pick off towns one by one. Malaga fell in 1487 after a long siege, and Almeria followed in 1489, leaving Granada alone and cut off from the sea.

The Fall of Granada in 1492

The final war lasted from 1482 to 1492. Ferdinand of Aragon and Isabella of Castile besieged Granada, and its last ruler, Muhammad XII, known as Boabdil, surrendered on 2 January 1492. The Treaty of Granada promised Muslims the right to practise their religion and keep their property.

These promises did not last. From 1499 onward, pressure on Muslims grew, and forced conversion was imposed in Castile in 1502. The converted Muslims, called Moriscos, were finally expelled from Spain between 1609 and 1614.

Science, Learning and Culture

Al-Andalus was a centre of science and philosophy. The surgeon Al-Zahrawi of Cordoba wrote a medical encyclopedia that shaped European surgery for centuries. The philosopher Ibn Rushd, known as Averroes, wrote commentaries on Aristotle that were studied in Latin Europe, and the Jewish scholar Maimonides was born in Cordoba in 1138.

Geography and travel also flourished, and the mapmaker Al-Idrisi belongs to the same western Mediterranean world. After Toledo fell in 1085, translators there turned Arabic works into Latin, passing Greek and Arabic science to European universities. For the full list of scholars, see the Islamic Golden Age scientists timeline.

Daily Life and Coexistence

Muslims, Christians and Jews lived in the same cities, and Jewish and Christian scholars often served at court. People often call this coexistence convivencia, but historians caution that it was not always peaceful or equal. Non-Muslims paid a special tax and had limited rights, and there were periods of persecution, especially under the Almoravids and Almohads.

Farming also changed. Muslim engineers expanded irrigation with water wheels and canals and introduced or spread crops such as rice, sugarcane, citrus fruits and cotton, which made the Spanish countryside richer.

The memory of Al-Andalus remains strong in Muslim and Spanish culture alike. Poets lamented its loss for centuries, and modern historians continue to debate how to describe it, avoiding both romantic myth and simple condemnation. Some families in North Africa are said to have kept the keys and names of homes in Spanish cities for generations, a sign of how long the memory lasted.

Why Al-Andalus Still Matters

Al-Andalus shows how a Muslim state could connect Africa, Europe and the Middle East in trade and ideas. Its architecture, language and science left a mark that is still visible in Spain today, from the many Arabic words in Spanish to the buildings of Cordoba, Seville and Granada.

For the broader chronology, read the complete Islamic history timeline. The next articles in this series look at the Ottoman Empire, Suleiman the Magnificent and the Mughal and Safavid empires.

Frequently Asked Questions

What was Al-Andalus?

Al-Andalus was the Muslim-ruled part of the Iberian Peninsula, covering much of present-day Spain and Portugal, from 711 to 1492 CE.

Who conquered Spain in 711?

Tariq bin Ziyad, serving under the Umayyad governor Musa ibn Nusayr, crossed from North Africa in 711 CE and defeated the Visigothic king Roderic.

When did Al-Andalus end?

It ended with the fall of Granada on 2 January 1492, when Muhammad XII surrendered to Ferdinand and Isabella.

What was the Caliphate of Cordoba?

It was the Umayyad caliphate in Spain, declared by Abd al-Rahman III in 929 and lasting until 1031, and it was the most prosperous period of Al-Andalus.

Who built the Alhambra?

The Nasrid rulers of Granada built it, beginning with Muhammad ibn al-Ahmar in the thirteenth century, and later rulers expanded it.

Comments