The Sulaymanid dynasty was an Arab Muslim dynasty in present-day western Algeria, ruling from 814 to 922. The dynasty is named after the founder, Sulyaman I, who was the brother of Idris I, the founder of the Idrisid dynasty based in Fez. Both Sulayman and Idris, as great grandchildren of Hasan ibn Ali, were sharifs descended from Muhammad.
Image: Monnaie Sulaymanide d'Algérie Ouest
The Idrisid dynasty or Idrisids were an Arab Muslim dynasty from 788 to 974, ruling most of present-day Morocco and parts of present-day western Algeria. Named after the founder, Idris I, the Idrisids were an Alid dynasty descended from Muhammad through his grandson Hasan. The Idrisids are traditionally considered to be the founders of the first Moroccan state, setting the stage for subsequent dynasties and states centered in this region. Their reign played an important role in the early Islamization of Morocco and also presided over an increase in Arab immigration and Arabization in major urban centers.
Idrisid dirham, minted at al-'Aliyah (Fes), Morocco, 840 CE. The coin features the name of Ali: a son-in-law of Muhammad, the fourth Caliph, and an ancestor of the Idrisids.