Browse

Fez

City · 789 CE

City in northern inland Morocco, founded under the Idrisid dynasty in the late eighth century. It was a capital of Moroccan dynasties for much of its history and is known for its walled medina and the Qarawiyyin university.

Significance

Its medina is a UNESCO World Heritage Site and holds the University of al-Qarawiyyin, founded in 857 and described as the oldest continuously functioning institute of higher education in the world.

About

Fez is a city in northern inland Morocco, northwest of the Atlas Mountains, and the capital of the Fez-Meknes administrative region. The old city sits in a valley along the Fez River, which splits into canals that supply the historic quarters with water. The 2024 census counted 1,256,172 people. It is one of the largest cities in Morocco.

The city was founded in 789 as Madinat Fas by Idris I, a Hasanid Sharif who had fled the Hejaz after a failed revolt against the Abbasids and founded the Idrisid dynasty. In 809 his son Idris II built a second settlement, al-Aliya, on the opposite bank and moved his capital there from Volubilis. The early population was mostly Berber, joined by Arab warriors from Kairouan. Families expelled from Cordoba after the revolt of 817 to 818 settled mainly in Madinat Fas, and the newcomers from Kairouan and al-Andalus gave the city its Arabic character. The University of al-Qarawiyyin was founded in 857.

After the Idrisids fell in 927, Fez changed hands for decades between the proxies of the Umayyads of Cordoba and those of the Fatimids. From 980 or 986 a Zenata dynasty allied with Cordoba ruled it. In 1069 to 1070 the Almoravids under Yusuf ibn Tashfin conquered it and joined the two settlements inside one wall. The capital moved to Marrakesh, yet Fez gained a name for Maliki legal scholarship and remained a centre of trade and industry. The Almohads besieged and took it in 1145 or 1146, and by 1200 Fez and Cairo had probably become the largest Muslim cities.

Fez reached its golden age under the Marinids, who took it in 1248 and made it their capital. In 1276 Abu Yusuf Yaqub founded Fes Jdid as a new administrative and military district, where the Royal Palace still stands. Between 1271 and 1357 seven madrasas were built that rank among the best examples of Moroccan architecture, and the city became an important intellectual centre. The Jewish quarter, the Mellah, was created in Fes Jdid during this period. After the last Marinid sultan was killed in a revolt in 1465, the Wattasids ruled from Fez from 1472 but added little to its buildings.

In the sixteenth and seventeenth centuries Fez lost ground. The Saadis ruled from Marrakesh and built forts around the city that appear to have aimed at keeping control of its people. Civil war among Saadi princes lasted until 1627 and the city suffered from the repeated conquests. The Alawi founder Moulay Rashid took it in 1666 and restored it, but his successor Moulay Ismail ruled from Meknes. From the reign of Moulay Muhammad ibn Abdallah, from 1757 to 1790, Fez recovered and stayed a capital of Morocco until 1912. Ahmad al-Tijani moved there in 1789, and the Tijani Sufi order has had its spiritual centre in the city ever since.

The Treaty of Fes placed Morocco under French rule in 1912, and the resident general Hubert Lyautey moved the administrative capital to Rabat. The French built a Ville Nouvelle outside the old city and left the medina largely preserved. Fez played a role in Moroccan nationalism, and nationalists gathered there to draft the independence demand submitted to the Allies in January 1944. Morocco regained independence in 1956. The old city, Fes el-Bali and Fes Jdid, was listed as a UNESCO World Heritage Site in 1981 and is one of the largest and oldest car-free urban zones in the world.

Connections

In chronicles

Open on the globe · Wikidata Q80985