Challenges to the Abbasids are not long…
791 CE
Challenges to the Abbasids are not long in coming; of particular significance is the establishment, in 789, of the first independent Shi'ite dynasty, in present-day Morocco, by Idris ibn 'Abd Allah ibn Hasan II, who had fled after participating in an unsuccessful uprising near Mecca.
Isa'q ibn 'Abd al-Samid, chief of the powerful tribal confederation of the Awraba Berbers of Volubilis, desired to consolidate his authority in northern Morocco by giving his rule an Islamic religious character, and for that purpose had invited Idris, a sharif (descendant of the Prophet Muhammad) then living in Tangier, to settle at his seat of government in Waila (Oulili).
Recognized as imam Idris I of the Awr'ba, he is assassinated by agents of the 'Abbasids in 791.