Almoravid dynasty
Several Berber dynasties emerged during the Middle Ages in the Maghreb and al-Andalus. The most notable are the Zirids (Ifriqiya, 973–1148), the Hammadids (Western Ifriqiya, 1014–1152), the Almoravid dynasty (Morocco and al-Andalus, 1040–1147), the Almohads (Morocco and al-Andalus, 1147–1248), the Hafsids (Ifriqiya, 1229–1574), the Zianids (Tlemcen, 1235–1556), the Marinids (Morocco, 1248–1465) and the Wattasids (Morocco, 1471–1554).