Hassan I of Morocco be an important figure in the 20th century colonial war against France. In 1887 he appointed sheikh Ma al-'Aynayn as his caid in Western Sahara. Ma al-'Aynayn too played an important role in the struggle for independence of Morocco. Moulay Hassan I died 9 June 1894 in Tadla, and is buried in Rabat. Hassan I of Morocco Hassan I of Morocco (; 1836 - 7 June 1894) was the sultan of Morocco from 1873 to 1894. He was the son of prince Abbas and succeeded to his uncle Mohammed IV. He was a member of the Alaouite dynasty. Moulay Hassan
History of Morocco Abbasid successors managed to re-impose their rule on the areas west of Ifriqiya. Morocco passed out of Umayyad and Abbasid control, and fragmented into a collection of small, independent Berber states such as Berghwata, Sijilmassa and Nekor, in addition to Tlemcen and Tahert in what is now western Algeria. The Berbers went on to shape their own version of Islam. Some, like the Banu Ifran, retained their connection with radical puritan Islamic sects, while others, like the Berghwata, constructed a new syncretic faith. The Barghawatas were a confederation of Berber groups inhabiting the Atlantic coast of Morocco, who belonged to