The Caliphate of Córdoba broke apart in the Fitna, a civil war after 1008, and Valencia simply stopped answering to anyone. Two former slaves of the Amirid household, Mubarak and Muzaffar, managed its irrigation; in 1010-1011 they made themselves independent. After Mubarak died and Muzaffar was expelled, the citizens chose another ex-slave, Labib, who bought protection from the Count of Barcelona by accepting him as overlord. Around 1021 a grandson of Almanzor, the former de facto ruler of the caliphate, took the throne and reigned forty years, giving Valencia a long, unusual peace.
Al-Qadir's unpopular rule leaned on a Castilian garrison led by Rodrigo Díaz de Vivar, El Cid. In October 1092, while El Cid was away, the qadi Ibn Jahhaf staged a coup, called in the Almoravids, and had Al-Qadir executed. The Almoravids sent too few men to hold the city when El Cid returned, and Ibn Jahhaf installed himself as king, alienating his own supporters. El Cid answered with a siege that ringed Valencia, burned nearby villages, and seized the surrounding harvests. Ibn Jahhaf promised tribute, then reneged. By April 1094 the city was starving, and he surrendered.
El Cid ruled the city until his death in 1099, and his widow Jimena held it until the Almoravids took it in 1102. Valencia broke free in 1145, passed to Ibn Mardanish, fell to the Almohads in 1172, and won independence again under Zayyan ibn Mardanish around 1229. Zayyan acknowledged the Abbasid caliphs in Baghdad as his overlords but could not stop James I of Aragon. After a defeat at the Battle of the Puig and a final siege beginning 23 April 1238, the city passed to the Crown of Aragon. A Hafsid fleet sent from Tunis to help was turned back by Catalan ships.
Strange truth Before El Cid ever set foot there, Valencia had been made independent by two former slaves who ran its irrigation, and the citizens later chose another ex-slave as their ruler.
Drafted by HY4 Flash (entity-v1.0) from the cited sources.
First Taifa period
Valencia was one of many cities in al-Andalus (in present-day Spain and Portugal) that became independent during the Fitna, a destructive civil war after 1008 that ended the Caliphate of Córdoba. As centralized authority collapsed in the caliphate's provinces, local rulers formed their own small states or principalities known to historians as Taifas (from Arabic: طائفة, romanized: ṭā'ifa, lit. 'faction'). Valencia had already enjoyed urban and economic growth since the second half of the 10th century and during the Taifas period of the 11th century it became a major city and political center for the first time since Muslim rule began in 711.
Two ṣaqāliba (former slaves) from the Amirid household, called Mubarak and Muzaffar, established the effective independence of Valencia in 1010–1011. They had previously been appointed here as officials in charge of irrigation. Their co-rule ended in 1017–1018, when Mubarak died and Muzaffar was expelled. The people of the city chose another ṣaqlabī, Labib, as ruler. He accepted the suzerainty of the Count of Barcelona in return for protection.
In around 1021, the kingdom was taken over by 'Abd al-'Aziz, a grandson of the Amirid and former de facto ruler of the caliphate, Ibn Abi Amir al-Mansur (also known as Almanzor). He reigned for 40 years until his death in 1061. During this long period of stability, Valencia enjoyed relative peace and prosperity. 'Abd al-'Aziz employed the same laqab (royal name) as his grandfather and was thus known as al-Mansur.
Capture by El Cid
Al-Qadir's unpopular rule in Valencia was supported by a Castilian garrison headed by Rodrigo Díaz de Vivar, a Castilian noble and mercenary better known today as El Cid. In October 1092, when El Cid was away from the city, there was an insurrection and coup d'état led by the qadi (judge) Abu Ahmad Ja'far Ibn Jahhaf. The latter called for help from the Almoravids, who had recently captured Murcia to the south. They sent a small group of warriors to the city, forcing the Castilian garrison to leave. Al-Qadir was captured and executed.
However, the Almoravids did not send enough forces to oppose El Cid's return and Ibn Jahhaf undermined his popular support by proceeding to install himself as ruler, acting like yet another Taifa king. El Cid began a long siege of the city, completely surrounding it, burning nearby villages, and confiscating the crops of the surrounding countryside. Ibn Jahhaf agreed at one point to pay tribute to El Cid in order to end the siege, which resulted in the Almoravids in the city being escorted out by El Cid's men. For reasons that remain unclear, an Almoravid relief army approached Valencia in September 1093 but then retreated without engaging El Cid. Ibn Jahhaf continued negotiations. In the end, he refused to pay El Cid's tribute and the siege continued. By April 1094, the city was starving and he decided to surrender it shortly after. El Cid re-entered Valencia on 15 June 1094, after 20 months of siege. Rather than ruling through a puppet, as he had done with al-Qadir, he now took direct control as king.
The Almoravids returned their attention to Valencia later that year. They arrived outside the city walls in October 1094 and began a siege. The siege ended when El Cid launched a two-sided attack: he sent a sortie from one city gate that posed as his main force, occupying the Almoravid troops, while he personally led another force from a different city gate and attacked their undefended camp. After his victory, El Cid executed Ibn Jahhaf by burning him alive in public, perhaps in retaliation for treachery.
Second Taifa period
As Almoravid authority disintegrated during the 1140s, local communities in al-Andalus once again took matters into their own hands, creating a second wave of Taifa statelets. In Valencia, the Almoravid governor at this time was 'Abd Allah ibn Muhammad ibn Ghaniya (of the Banu Ghaniya family). The local qadi, Marwan ibn 'Abd al-'Aziz, attempted to assuage growing popular hostility towards the Almoravid regime. By March 1145, popular opinion, as well as sentiment among the Andalusi soldiers in particular, was firmly set against the Almoravids and Marwan was pressured into taking leadership of the city under the title of ra'is. When he proved unable to keep paying the Andalusi soldiers, they deposed him and installed one of their own leaders, Ibd 'Iyad, as ruler.
In January 1146, Ibn 'Iyad invited Sayf al-Dawla ibn Hud, son of the last Hudid ruler of the former Taifa of Zaragoza, to take command of Valencia and Murcia. Sayf al-Dawla accepted and laid claim to a caliphal title. However, he was killed in a battle with the Christians near Albacete on 5 February. Ibn 'Iyad was killed in August 1147, but before he died he managed to pass the command of Valencia's forces to Muhammad ibn Sa'd ibn Mardanish, known simply as Ibn Mardanish.
Ibn Mardanish made himself ruler of the eastern part of al-Andalus (Sharq al-Andalus or the Levante). He based himself in Murcia and placed Valencia under the governorship of his brother Yusuf. He was vulnerable to Christian forces both to the north and south, but after 1147 the Almohads (who had replaced the Almoravids as the major power in North Africa) presented a more serious threat, having annexed Seville and western al-Andalus. The last Almoravids in al-Andalus remained in Granada until 1155 and the Castilians controlled Almeria until 1157. These two factions acted as buffers between him and the Almohads during this time, but they were eventually expelled by the latter. Ibn Mardanish managed to hold on to power after this in part by allying himself with Castile, which supplied him with military assistance against the Almohads. Only after he died in 1172 did the Almohads take his kingdom, with little opposition.
Third Taifa period
Although not much is known about the family and descendants of Ibn Mardanish under Almohad rule, they appear to have been integrated into the Almohad elites and maintained some influence in Valencia. Almohad rule in al-Andalus began to collapse after 1212 and the Almohad caliph Idris al-Ma'mun withdrew from the region in 1228. The last Almohad governor of the city, Abu Zayd, was so vulnerable that in 1226 he signed a treaty with James I of Aragon to pay tribute. This made him unpopular and he was overthrown by a rebellion in late 1228 or early 1229. The remaining Almohads departed and it was a descendant of Ibn Mardanish, Zayyan ibn Mardanish, who took control.
Zayyan ibn Mardanish formally acknowledged the Abbasid caliphs in Baghdad as suzerains and remained independent of Ibn Hud, who emerged as the most powerful leader in al-Andalus during this time, but he was unable to halt the advance of Aragonese conquests from the north. As the latter closed in, occupying nearby Puig in 1236, he made a desperate attempt to confront them at the Battle of the Puig (known as the Battle of Anisha in Arabic sources), where he was firmly defeated. James I began the final siege of Valencia on 23 April 1238. Zayyan sent his vizier, Ibn al-Abbar, to Tunis to enlist the aid of the Hafsid dynasty there, but the small fleet subsequently sent by the Hafsids was prevented from landing by Catalan ships. The city surrendered on 29 September. Zayyan was able to retreat and he continued to operate in the region for several more years, even becoming ruler of Murcia from 1239 to 1241. Valencia became part of the Crown of Aragon.
First Taifa period
Valencia annexed by the Almoravids in 1102.
Text adapted and shortened from the English Wikipedia article “Taifa of Valencia”, CC-BY-SA-4.0. This adaptation is shared under the same licence.
Pictures
Connections in the record
- Capital
- Balansiya
- Succeeded by
- Lordship of Valencia
- Location
- Valencia
Sources
- Wikipedia (en) — Taifa of Valencia (rev 1357449763). CC-BY-SA-4.0.
- Wikidata Historical Entities & Lineage Spine. CC0-1.0.