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
Flag of Morocco Flag of Morocco The flag of Morocco (; ) is made of a red field with a black-bordered green pentagram. Red has considerable historic significance in Morocco, proclaiming the descent from royal Alaouite dynasty. This ruling house was associated with the Islamic prophet Muhammad via Fatimah, the wife of Ali, the fourth Muslim Caliph. Red is also the color that was used by the sharifs of Mecca and the imams of Yemen. From the 17th century on, when Morocco was ruled by the Alaouite dynasty, the flags of the country were plain red. In 1915, during the reign of Mulay