It was a Berber Muslim Dynasty that arose based in Morocco. in 1065, they found Marakkesh as their base institution. The family for this dynasty were the Berbers clans of Sanhaja; Lamtuna, Gudala and Massufa. Almoravids was also in Spain for territory expension activities.