In the 13th century the Marinids, a Berber dynasty, ruled what is now this country with Fez as their capital
Between 
the 11th and 13th centuries two Berber dynasties, the Almoravids and .... Rabat, 
the political capital, and its neighbor, Sal, form the second largest urban 
complex.