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. Founded by Abdallah ibn Yasin, their capital was Marrakesh, a city they founded in 1062.