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
Morocco "The Middle West") and "" (, meaning "The Nearest West"). The basis of Morocco's English name is Marrakesh, its capital under the Almoravid dynasty and Almohad Caliphate. The origin of the name Marrakesh is disputed, but is most likely from the Berber words "amur (n) akush" (ⴰⵎⵓⵔ ⵏ ⴰⴽⵓⵛ) or "Land of God". The modern Berber name for Marrakesh is "Mṛṛakc" (in the Berber Latin script). In Turkish, Morocco is known as "Fas", a name derived from its ancient capital of Fes. However, this was not the case in other parts of the Islamic world: until the middle of the