So, a long, long time ago in a place called Morocco, there was a group of people called the Idrisids. They were named after a man named Idris, who their ancestors said was related to a very important person named the Prophet Muhammad.
Anyway, the Idrisids were pretty special because they were the first group of people in Morocco to become Muslim. They were very proud of this and wanted to show everyone else how great it was to be Muslim.
So, they became leaders of Morocco and did lots of things to help their people. They built schools where kids could learn about Islam and other things, made laws to keep people safe, and even helped make Morocco a really important place for trade with other countries.
The Idrisids were in charge of Morocco for almost 200 years, which is a really long time! They were really important because they helped spread Islam through Morocco and made it a better place for everyone to live.