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
History of Morocco year began the negotiations that led to Moroccan independence. In late 1955, in the middle of what came to be known as the , Sultan Mohammed V successfully negotiated the gradual restoration of Moroccan independence within a framework of French-Moroccan interdependence. The sultan agreed to institute reforms that would transform Morocco into a constitutional monarchy with a democratic form of government. In February 1956, Morocco acquired limited home rule. Further negotiations for full independence culminated in the French-Moroccan Agreement signed in Paris on March 2, 1956. On April 7, 1956, France officially relinquished its protectorate in Morocco. The internationalized city