Idrisids
State · 793–979 CE · at its largest around 793 CE
A dynasty founded by Idris I, a descendant of Ali, who was welcomed by Berber tribes in Morocco. His son developed Fez as the capital.
On its lands while it lasted
- Volubilis (400 BCE – 1710 CE): Capital of Mauretania (212 BCE–42), Idrisids (793–974).
- University of al-Qarawiyyin (859 CE): Founded by Fatima al-Fihri in Fez, it is often cited as the oldest continuously operating institution of higher learning in the world.
More on Wikipedia.