5 Minute History/ Facebook
Idris was a descendent of the Holy Prophet (PBUH) and so held a special position of being a religiopolitical leader of the Islamic world. When he arrived in Morocco, his cause was espoused by the Awraba, at the time one of the most powerful tribal groups in northern Morocco. Considering the fact that Idris was a sharif (the descendent of the Prophet (PBUH) , the Awraba recognized him as their imam upon the initiative of their chief Ishaq b. Abdul Hamid. Thus, Idris established his power and founded the Idrisid dynasty in Morocco.
The Idrisids were political opponents of the Abbasid Caliphate. As a result, Idris was assassinated (poisoned) in May 791 by an agent sent by the Abbasid Caliph Harun al-Rashid from Baghdad. Previously in the Battle of Fakhkh, the Abbasids had crushed an uprising of the Alids (the descendants of Ali ibn Abu Talib) in Hejaz. The Alids revolted because Abbasid governor of Medina ill-treated and accused some members of the Alids of having drunk wine. Alids under the command of al-Husain ibn Ali al-Abid ibn Hasan fought the Abbasids in the battle of Fakhkh. The Alids lost the battle and al-Husain also lost his life in the combat. Idris was the maternal uncle of al-Husain and managed to escape the atrocities of the Abbasid regime.
The Alids charged for drinking wine were whipped on the orders of the governor. Historians have claimed that the charges were not proved.