Roman Empire /
Kingdom of the lands corresponding to northern Morocco and northern Algeria west of the regions of Setif. The Moroccan part did not include the Atlas mountains.
From before 118 BCE until 33 it was independent. From 33 BCE-40 CE it was a client kingdom under Rome, before divided into two Roman provinces: Mauretania Tingitana in the west and Mauretania Caesariensis in the east.
Roman control depended on geography; along the coast Rome had complete control and great cultural influence. The interior was largely left to itself as long as it didn't challenge the Romans and paid agreed taxes.
A major part of the inhabitants were the people called Mauri, or Maure. They are ethnically related to modern Berbers, but there were other peoples here too, also related to modern Berber, in particular the Massaesyli.
There is no direct link between this Mauretania and the modern state of Mauritania.
118 B: Bocchus 1 becomes king.
111 BCE: Bocchus enters an alliance with Rome.
105: King Jugurtha of Numidia is captured by the Romans, part of Numidia is given to Bocchus 1.
Ca. 80: Bocchus 1' two sons, Bocchus 2 and Bogud have the kingdom peacefully divided between them, Bocchus rules what is today Morocco, Bogud the Algerian counterpart.
38: Bocchus 2 enters Bogud's territory, seizing control, while Bogud is off to Spain.
33: Bocchus 2 dies, and Mauretania passes without resistance to Roman control.
25: Numidian king, Juba 2 becomes king of Mauretania, this ending 8 years without a local ruler.
40 CE: The Romans divide Mauretania into two provinces, Mauretania Tingitana in the west and Mauretania Caesariensis in the east.