Berber Revolt
A large Berber tribe, the Barghawata, settled in the area between the rivers Bou Regreg to the north and Oum er-Rbia to the south. It established itself as an independent Berber kingdom in Tamasna around in 744 AD following the Berber Revolt against the Umayyad Caliph Hisham ibn Abd al-Malik. It remained until it was conquered by the Almoravids in 1068 AD.