The Almoravid dynasty (Berber: Imṛabḍen, ⵉⵎⵕⴰⴱⴹⴻⵏ; Arabic: المرابطون, Al-Murābiṭūn) was an imperial Berber Muslim dynasty centered in Morocco. It established an empire in the 11th century that stretched over the western Maghreb and Al-Andalus. Founded by Abdallah ibn Yasin, the Almoravid capital was Marrakesh, a city the ruling house founded in 1062. The dynasty originated among the Lamtuna and the Gudala, nomadic Berber tribes of the Sahara, traversing the territory between the Draa, the Niger, and the Senegal rivers.
The Almoravids were crucial in preventing the fall of Al-Andalus to the Iberian Christian kingdoms, when they decisively defeated a coalition of the Castilian and Aragonese armies at the Battle of Sagrajas in 1086. This enabled them to control an empire that stretched 3,000 kilometers (1,900 mi) north to south. However, the rule of the dynasty was relatively short-lived. The Almoravids fell—at the height of their power—when they failed to stop the Masmuda-led rebellion initiated by Ibn Tumart. As a result, their last king Ishaq ibn Ali was killed in Marrakesh in April 1147 by the Almohad Caliphate, who replaced them as a ruling dynasty both in Morocco and Al-Andalus....LESS