Almoravid Dynasty
The Almoravids (Berber: ⵉⵎⵕⴰⴱⴹⴻⵏ Imṛabḍen, Arabic: المرابطون Al-Murābiṭūn) were a Berber dynasty of Morocco, who formed an empire in the 11th-century that stretched over the western Maghreb and Al-Andalus. Their capital was Marrakesh, a city which they founded in 1062. The dynasty originated amongst the Lamtuna and the Gudala, which were nomadic Berber tribes of the Sahara traversing the territory between southern Morocco, the Niger river and the Senegal river.
The Almoravids were crucial in avoiding a precipitated fall of Al-Andalus to the Iberian Christian kingdoms, when they decisively beat a coalition of the Castilian and Aragonese armies at the Battle of Sagrajas. This enabled them to control an empire that stretched 3,000 kilometers north to south. However, the rule of the dynasty was relatively short-lived and the Almoravids fell - at the height of their power - when they failed to quell 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 Almohads who replaced them as a ruling dynasty both in Morocco and Al-Andalus.
Read more about Almoravid Dynasty: Name, Origins, Decline, Military Organization, List of Almoravid Rulers