After 1031 al-Andalus had no center. In its place stood a patchwork of small states, at times more than twenty, each with its own ruler, court and army. Politically this was a time of weakness and humiliation. Culturally it was one of the richest periods in the history of the peninsula, because every little capital wanted poets, scholars and palaces of its own.
A map of rival courts
The new states are called taifas, from the Arabic ta'ifa, meaning a party or faction. In modern Spanish the phrase reinos de taifas is still used, half jokingly, for any arrangement where too many small powers squabble. Each taifa was built around a group that had held power in the caliphate's last years. Seville was ruled by the Abbadids, an Arab family of judges. Granada was taken by the Zirids, a Berber dynasty. Toledo, Zaragoza, Badajoz, Valencia and Almería had their own rulers. The bigger taifas swallowed the smaller ones, and Seville grew into the strongest.
Poets and princes
Courts competed for talent. The king of Seville, al-Mutamid, was himself a fine poet. In Córdoba the poet Ibn Zaydun wrote love poems to Wallada, a princess of the old Umayyad house who kept a literary salon and wrote verse of her own. The scholar Ibn Hazm, a former minister of the caliphs, wrote The Ring of the Dove, a book about love, around 1022, drawing on stories of friends and his own life to describe how love begins, grows and ends. In Zaragoza the rulers built the Aljafería palace, and one of them, al-Mutaman, wrote a large treatise on geometry.
Granada produced one of the most unusual careers of the age. Samuel ibn Naghrela, a Jewish scholar, served the Zirid kings as chief minister and led their armies in the field, and he wrote Hebrew poems about his battles, his grief and the passing of life. He was also head of the Jewish community. His power showed how far talent could carry a non-Muslim in a taifa court. The killing of his son in 1066 showed how fragile that position remained.
The last Zirid king of Granada, Abd Allah, gives us a rare inside view. After losing his throne he wrote a memoir in exile explaining how his kingdom fell. Few medieval rulers anywhere left such a frank account of their own mistakes.
Paying for protection
The taifas were rich but militarily weak, and the Christian kingdoms of the north saw an opportunity. Rather than conquer at once, the kings of León and Castile demanded money. These payments, called parias, were yearly tribute the taifa kings paid Christian rulers to avoid attack, and they made Castile wealthy. Taifa kings even hired Christian troops against one another. To pay the parias, they raised taxes beyond what Islamic law allowed, which angered their own religious scholars and subjects.
In 1085 Alfonso VI of Castile took Toledo, the old Visigothic capital, after a long blockade. He promised that its Muslims could keep their chief mosque, but within about a year it had been turned into a cathedral. The fall of Toledo shocked al-Andalus. If the taifas could not protect a city of that size, none of them was safe.
Calling in the Almoravids
Across the strait a new power had risen. The Almoravids were a Berber movement from the western Sahara, founded by a preacher who demanded strict observance of Islamic law. Under their leader Yusuf ibn Tashfin they conquered Morocco and founded Marrakesh. The taifa kings, led by al-Mutamid of Seville, asked Yusuf for help. A later source has al-Mutamid explain that he would rather herd camels in Africa than herd pigs in Castile.
In 1086 Yusuf crushed Alfonso VI at Sagrajas, which Arabic sources call al-Zallaqa. He went home, but returned and, from 1090, removed the taifa kings one after another. He had the backing of jurists who ruled that the taifa kings had lost their right to rule by taxing illegally and paying tribute to Christians. Al-Mutamid ended his days a prisoner in Morocco, writing poems about his chains.
Worked example: al-Mutamid's choice
Put yourself in Seville in 1086. You can keep paying Castile, knowing the demands will grow and that Toledo's fate may be yours. Or you can invite a powerful foreign army that shares your faith but despises your court, your wine and your taxes. Each choice costs something. The first keeps your throne for now but makes you a tributary of a Christian king whose people are steadily moving south. The second may save al-Andalus from conquest but puts it under a ruler who owes you nothing. Al-Mutamid chose the second. The Almoravids did stop the Castilian advance for a generation, and they also ended his dynasty. His dilemma is a common one for small states caught between larger neighbors: the protector you call in may decide that you are part of the problem.
