Fez, Morocco financing sharifian families as a way to legitimize their (in essence secular) rule: From the 14th century onwards hundreds of families throughout Morocco claimed descent from Idris I, especially in Fez and the Rif mountains. In this regard they can be seen as the enablers of the latter sharifian dynasties of Morocco. The 1465 Moroccan revolt in 1465 overthrew the last Maranid sultan. In 1474 the Marinids were replaced by their relatives of the Wattasid dynasty, who faithfully (but for a large part unsuccessfully) continued Marinid policies. After the fall of the Marinids, the city remained the capital of Morocco
Hassan I of Morocco military and diplomatic program on the periphery. Nephew of the sultan Mohammed IV, Moulay Hassan was proclaimed sultan of Morocco on the death of his uncle in 1873. His first action was to crush an urban revolt in the capital Fes. The new sultan was committed to continue the modernization and reform policy of his father. Particularly well known is the journey Hassan I undertook in 1893. He went from Fez (leaving on 29 June) to Marrakech, passing through the Tafilalt, the sand dunes of Erg Chebbi, the valley of the Dades with the majestic gorges of the Todra, Ouarzazate,