Founded by Ziri ibn Atiyya (994)
Some evidence suggests a settlement in Roman times, controlled by Berbers rather than Rome. But the town was founded in 994 by Ziri ibn Atiyya, chief of the Zenata Maghrawa tribe. Allowed to settle in the Fes region, he felt insecure there and preferred to move closer to the central Maghreb, his tribe's homeland: he placed a garrison and his possessions at Oujda and appointed a relative as governor.
Oujda is thus one of Morocco's oldest towns still inhabited.





