thumb|Idrisid state, around 820 CE, showing its maximal extent. 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 considered by historians to be the founders of the first Moroccan state.
thumb|Idrisid state, around 820 CE showing its maximal extent 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 considered by historians to be the founders of the first Moroccan state.