Out of the ruins of the caliphate
In 1009 the caliphate of Córdoba fell into civil war, the fitna. Over the next two decades caliphs were made and murdered, and power in the provinces passed to whoever held each town and its army. When the notables of Córdoba abolished the caliphate in 1031, al-Andalus was already a patchwork of independent states. Arab historians called their rulers the mulūk al-ṭawāʾif, the kings of the factions, a phrase first used for the kings who divided ancient Persia.
The new rulers came from three groups. Some were old Andalusi families, often of Arab or long-settled Berber descent, like the Abbadids of Seville, the Banu Dhi l-Nun of Toledo and the Hudids of Zaragoza. Some were Berber generals brought over by the caliphs, like the Zirids of Granada. Others were Slavs, freed slaves of the caliph’s household, who took Almería, Denia and, at first, Valencia.
Small courts, great culture
Each taifa king copied the caliphs on a smaller scale. He built a palace, kept poets and scholars, and struck his own coins. The result was one of the richest periods of Andalusi culture. Al-Mutamid, king of Seville from 1069 to 1091, was himself a celebrated poet. In Zaragoza the Hudids built the Aljafería palace. In Toledo the astronomer al-Zarqali made new tables of the planets, and in Granada the Jewish minister Samuel ibn Naghrillah wrote Hebrew poetry.
The same courts were weak in war. The taifas fought each other for land and for the title of the strongest, and the larger ones swallowed the smaller: Seville took Córdoba about 1070 and, for a time, much of the south-west. None of them could match the armies of the Christian north. The memoirs of Abd Allah, the last Zirid king of Granada, written in exile after 1090, give a rare inside view of these rivalries.
Buying peace
The Christian kings saw their chance. From the 1060s Ferdinand I of León and Castile, and after him Alfonso VI, forced the taifas of Toledo, Zaragoza, Badajoz and Seville to pay yearly tribute, the parias, in gold, in return for peace and for help against their neighbours. Taifa kings also hired Christian soldiers. El Cid, exiled from Castile, served the Muslim king of Zaragoza for several years in the 1080s.
The gold paid for churches and castles in the north and drained the south. Taifa rulers raised taxes not allowed by Islamic law to pay it, which turned religious scholars and townsmen against them. In 1085 Alfonso VI took Toledo itself, the old Visigothic capital, from its king al-Qadir. For the other taifa kings it was a warning that tribute might not be enough to save them.
The Almoravids come
Al-Mutamid of Seville and his fellow kings turned to Yusuf ibn Tashfin, ruler of the Almoravids, a Berber empire of strict religious reformers in Morocco. Yusuf crossed the strait and beat Alfonso VI at Sagrajas on 23 October 1086. But he despised the taifa kings for their taxes, their quarrels and their dealings with Christians, and the religious scholars of al-Andalus urged him to remove them.
From 1090 Yusuf deposed them one by one: Granada in 1090, Seville in 1091, Badajoz in 1094. Al-Mutamid died a prisoner at Aghmat, in Morocco, in 1095. Valencia, held by El Cid from 1094, fell to the Almoravids in 1102. Only the Hudids of Zaragoza lasted, as a buffer against Aragon, until 1110. Eight years later Aragon took the city.
Second and third taifas
The pattern came back twice. When Almoravid rule collapsed in the 1140s, local leaders again set up their own kingdoms, most lastingly Ibn Mardanish in Murcia and Valencia, who held out against the Almohads until 1172 with Christian help. When Almohad power in turn broke after 1212, a third round of taifas followed in the 1220s and 1230s. Most fell to Castile, Aragon and Portugal; one, the emirate of the Nasrids of Granada, lasted until 1492.
In modern Spanish “reino de taifas”, a taifa kingdom, has become a phrase for any body split into quarrelling factions. Historians are kinder than the phrase. They see the 11th century as a time of political weakness but of high culture, when the arts and learning of Córdoba spread to a dozen capitals, and when Christian and Muslim rulers dealt with each other through tribute, alliance and war as much as through faith.