伊德里斯王朝
Idris I conquered large parts of northern Morocco, his son Idris II made Fez the capital city of the Idrisid dynasty. In 789 AD, he captured Tlemcen (in modern-day Algeria) which became part of the kingdom. This succession of events prompted vengeance from the Abbasid caliph Harun al-Rashid, who sent emissaries to kill him. Idris I was poisoned and died in 791. His son, Idris II, was brought up by the Awraba, and left Walīla for Fes in 808.