Idrisid dynasty
The Idrisid dynasty was a Muslim polity centered in Morocco, which ruled from 788 to 974. Named after the founder Idriss I, the great grandchild of Hasan ibn Ali, the Idrisids are believed by some historians to be the founders of the first Moroccan state.