Veiled Saharan Berbers built an empire from Senegal to Spain
The Almoravids—al-Murābiṭūn, “people of the ribats”—rose from Lamtuna, Gudala, and Massufa nomads between the Draa, Niger, and Senegal. From a new capital at Marrakesh around 1070 they spanned the western Maghreb and al-Andalus until Almohad rebels took the city in 1147.
Arabic al-Murabit points to fighters bound to a ribāṭ, the frontier monastery-fort of North Africa. A related origin story credits Waggag ibn Zallu’s Maliki school Dar al-Murabitin in Sus, which sent student Abdallah ibn Yasin to convert Sanhaja groups of the Adrar. Geographer al-Bakri already used the label in 1068. Chroniclers also called them al-mulathamun, “the veiled ones,” for the litham face covering, and rooted the first core in Lamtuna country around Aoudaghost between the Senegal and Draa rivers.
Pushing north, they founded Marrakesh about 1070 and soon ran parallel northern and southern administrations. Their leap into Iberian Muslim lands briefly stalled Christian kingdoms—Sagrajas in 1086 is the showcase victory—and created the first large Berber-led Islamic empire bridging Maghreb and al-Andalus. Losing Zaragoza in 1118 signalled that Spanish footing was slipping even before Maghrebi enemies closed in.
The spark was a pilgrimage. Around 1040 the Gudala chief Yahya ibn Ibrahim, returning from Mecca, met the Maliki jurist Abu Imran al-Fasi at Kairouan and complained how little religious teaching reached his people; Abdallah ibn Yasin's mission grew from that encounter. Ibn Yasin, a Gazzula Berber and probably a convert, was a rigid formalist whose arguments the Gudala rejected. The Lamtuna chief Yahya ibn Umar welcomed him instead, while keeping him tightly controlled, and Ibn Yasin preached that conquest had to accompany conversion.
By the early 1050s a ruling trio had formed: Ibn Yasin, Yahya ibn Umar and Yahya's brother Abu Bakr, and the Lamtuna moved on Sijilmasa and Awdaghust, the desert's northern and southern gateways, to command trans-Saharan trade. The realm later divided, with Yusuf ibn Tashfin's line holding the Maghreb and Abu Bakr's descendants the Sahara. Almoravid rulers never called themselves caliph, preferring Prince of the Muslims and nodding to Abbasid overlordship, until the Masmuda-led revolt Ibn Tumart started in the 1120s brought them down.
Source: Almoravid dynasty