Answer
Idris ibn Abdallah was the founder of the Idrisid dynasty of Morocco, a Muslim dynasty that ruled the country from 788 to 974. He was born in Mecca in the early 8th century and was a descendant of the Prophet Muhammad. He fled to Morocco after the Umayyad Caliphate began to persecute the Shia Muslims, and he established the Idrisid dynasty in 788.