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
Foreign relations of Morocco strong relations with Morocco because of its history of being a western ally. For example, Morocco has one of the longest friendship treaties with the United States. This is important for US interests because Morocco is a stable, democratizing, and liberalizing Arab Muslim nation. Geopolitical benefits are evident because ties to Morocco means that an ally is established in Africa, in the Maghreb region, and among the Arab states. Morocco's identity as an Arab Muslim state has also strengthened ties with the Persian Gulf countries as a result of 9/11 and the "war on terror". This has resulted in countries,