Skip to content

Era 4 · Al-Andalus

Yusuf ibn Tashfin

يوسف بن تاشفين

Victor of Zallaqa

  • d. 1106 CE (500 AH); birth year disputed

At a glance

Era 4
Dates
d. 1106 CE (500 AH); birth year disputed
Who
Almoravid ruler who founded Marrakesh, won at Zallaqa and brought al-Andalus under his rule
Era
Al-Andalus

ProfileYusuf ibn Tashfin

Who he was

Abu Ya'qub Yusuf ibn Tashfin al-Lamtuni came from the veiled Berbers of the Sahara, whose men, Ibn Khallikan says, never uncovered their faces. The jurist Abd Allah ibn Yasin first gathered them to fight, and after his death Abu Bakr ibn Umar led them north. Ibn Khallikan's source says Abu Bakr heard that an old woman at home had lost her camel in a raid and blamed his absence, so he went back and left Yusuf in charge of the Maghrib. Al-Nasiri adds that when Abu Bakr returned, Yusuf met him with a great army and a thousand laden camels. Abu Bakr saw he would not give up power, told him to fear Allah, and left for the desert.

Yusuf took Fez in 464 AH and, al-Dhahabi says, laid out Marrakesh in 465 AH (1072-1073 CE) on land bought with the money he had brought from the Sahara. Al-Nasiri reports that he worked on its mosque with his own hands beside the labourers.

Zallaqa

Ibn al-Athir says Alfonso took Toledo from al-Qadir, one of the divided kings of al-Andalus, in 478 AH (1085 CE), then refused al-Mu'tamid of Seville's yearly tribute and demanded his forts. Ibn Khallikan records his reasoning for calling the Saharans: better that his sons herd their camels than the pigs of the Franks.

Yusuf crossed with his army and camels. Al-Bayasi, quoted by Ibn Khallikan, says Alfonso agreed a day for battle, then attacked at dawn on the Friday in 479 AH (1086 CE). Al-Mu'tamid's line broke and he was wounded. Yusuf struck the Frankish camp and sent in about four thousand of his black guard on foot. Alfonso escaped with a handful. Yusuf left the spoils to the Andalusian kings, telling them he had come to fight, not to plunder.

Taking al-Andalus

Ibn Khaldun, quoted by al-Nasiri, says the kings promised to end their unlawful taxes and then returned to them, and that some dealt with Alfonso against Yusuf. The jurists of the Maghrib and al-Andalus gave fatwas for their removal, and eastern scholars such as al-Ghazali and al-Turtushi supported this. Yusuf took Granada from Abd Allah ibn Buluggin, which Ibn al-Athir calls treachery. Seville fell in Rajab 484 AH (1091 CE) despite al-Mu'tamid's appeal to Alfonso, and al-Mu'tamid died a prisoner at Aghmat. Al-Marrakushi says Yusuf told every gathering that his aim was to save the land from the Christians.

Why he matters to a Muslim reader

Al-Nasiri describes a ruler who wore only wool, ate barley, camel meat and milk, and took no tax beyond what the Quran and Sunnah allow. He sought the Abbasid caliph's appointment and, al-Nasiri says, called himself Commander of the Muslims and not of the Faithful out of respect for the caliph. When he asked Almeria for a war levy, its judge Ibn al-Farra' told him he was no Umar, and should first swear in the mosque that the treasury was empty. Al-Nasiri says he said no more of it. Ibn Khallikan had read, though he could not recall where, that al-Ghazali set out to join him and turned back at Alexandria on news of his death.

Al-Dhahabi calls Yusuf just and brave, but says he treated Ibn Abbad badly and was close with money. Al-Nasiri replies that such criticism began with the taifa kings' court writers.

He died on 3 Muharram 500 AH (September 1106 CE), and his son Ali succeeded him.

Where the sources differ

  • His age. Al-Dhahabi says over eighty. Ibn Khallikan's text says ninety. Al-Nasiri, quoting the same passage, has seventy.
  • Zallaqa's date. Ibn Khallikan gives Friday 15 Rajab, or the last ten days of Ramadan. Ibn al-Athir gives the first ten days of Ramadan.
  • Did he return? Ibn Khallikan's main source has only his generals conquering al-Andalus. Ibn al-Athir and al-Bayasi have him crossing again, and Ibn Khallikan admits the clash. Ibn Abi Zar dates the second crossing to 481 AH, Ibn Khaldun to 486.
  • His title. Ibn al-Athir says the caliph al-Muqtadi granted it after Andalusian scholars asked for his sanction. Ibn Abi Zar says he took it on the day of Zallaqa. Ibn Khaldun links his appointment to al-Mustazhir.

Meet them inWhere they appear on the road

Further reading

SourcesSources for this profile

Questions & answers

Questions about Yusuf ibn Tashfin

Short answers taken from this profile, each with a link to read more.

Who was Yusuf ibn Tashfin?

Abu Ya'qub Yusuf ibn Tashfin al-Lamtuni came from the veiled Berbers of the Sahara, whose men, Ibn Khallikan says, never uncovered their faces. The jurist Abd Allah ibn Yasin first gathered them to fight, and after his death Abu Bakr ibn Umar led them north.

Read more: Yusuf ibn Tashfin

When did Yusuf ibn Tashfin live?

Yusuf ibn Tashfin lived d. 1106 CE (500 AH); birth year disputed.

Read more: At a glance

What is Yusuf ibn Tashfin remembered for?

Winning at Zallaqa, founding Marrakesh and bringing al-Andalus under one rule.

Read more: Remembered for

Where does Yusuf ibn Tashfin appear in the story of Islamic history?

Yusuf ibn Tashfin belongs to the era of Al-Andalus, and appears in the chapter “The taifas, the Almoravids and the Almohads”.

Read more: The taifas, the Almoravids and the Almohads

Keep travelling

More travellers of the caravan

Meet the others, or read the era this person belongs to.