Idris I and the Awraba (788-791)
Idris I, a descendant of the Prophet, had to flee Abbasid territory after the Battle of Fakh in 786, where he had backed the defeated Alid rebels. He settled at Walili, the former Roman Volubilis, then inhabited mostly by Berbers. Thanks to his prestige he allied with the local tribes, especially the Awraba, who recognised him as imam around 788-789: he quickly became the leading religious and political figure of the region.
As the Roman site on the plain was considered vulnerable, settlement moved a few kilometres towards the mountains, probably to the site of the present town. Idris I died in 791, possibly poisoned on the orders of Caliph Harun al-Rashid, just before his son Idris II was born.




