itself), though he is widely believed to be buried in Fes, where his mausoleum and mosque is still a site of major importance today. Although the town became a site of pilgrimage early on, after Idris II it was quickly overshadowed by Fes, which became the most important city of the region. The popularity of Idris I and his son as Muslim "saints" and figures of national importance was not constant throughout Morocco's history, with their status declining significantly after the end of Idrisid influence in the 10th century. The Almoravids, the next major Moroccan dynasty after them, were hostile to the cult of saints and other practices judged less orthodox under their stricter views of Islam. It was only during the Marinid period, from the 14th century onward, that the Idrisid founders became celebrated again and that their religious importance redeveloped. An early sign of this was the alleged rediscovery of Idris I's remains in 1318, at Moulay Idris Zerhoun, which apparently caused something of a sensation among the local population and attracted attention from the Marinid authorities. During this time, the annual moussem (religious festival) in August, celebrating Moulay Idris I, was instituted and began to take shape. The mausoleum itself apparently remained little changed for many centuries. Under the sharifian dynasties of Morocco, the Saadians and (especially) the Alaouites, who also claimed descent from the Prophet Muhammad, the status of Idris I and II as foundational figures in Moroccan history was further elevated in order to enhance the new dynasties' own legitimacy. Moulay Ismail, the powerful and long-reigning Alaouite sultan between 1672 and 1727, ordered the existing mausoleum to be demolished and rebuilt on a grander scale. Adjoining properties were purchased for the purpose. Construction lasted from 1719 to 1721. Once finished, Moulay Ismail ordered that the khutba (Friday sermon) be performed regularly in the mausoleum's mosque, which established it as the main Friday mosque of the city. In 1822, the Alaouite sultan Moulay Abderrahman (Abd al-Rahman), purchased another property adjoining the mausoleum in order to rebuild the mosque on an even bigger and more lavish scale. Under Sultan Sidi Mohammed (Mohammed IV; ruled 1859–1873), some expert ceramic tilework decoration was added by the Meknesi artisan Ibn Makhlouf. Following Moroccan independence in 1956, the mausoleum was redecorated and the mosque expanded yet again by King Mohammed V and his son Hassan II. To this day, Idris's tomb