The Almoravid was imperial Berber Muslim Dynasty. They rulled in Morocco from 1050 until 1147 and Marrakech were their capital. They emerged from a coalition of the Lamtuna, Massufa and Gudala, nomad berbers l.