Fes Jdid or Fes el-Jdid () is one of the three parts of Fez, the second largest city of Morocco. It was founded by the Marinids in 1276 as an extension of Fes el Bali (the old city or medina) and as a royal citadel and capital. It is occupied in large part by the historic Royal Palace (the Dar al-Makhzen), which was once the center of government in Morocco and which is still used on occasion by the King of Morocco today. The district also contains the historic Mellah (Jewish quarter) of the city. Since 1981 it has been classified, along with Fes el-Bali, as a UNESCO World Heritage Site.

History

Marinid period (13th–15th centuries) Fes el-Jdid was founded in 1276 by the Marinid sultan Abu Yusuf Ya'qub. It was to serve as the new royal citadel and center of government for Morocco under Marinid rule, including a Royal Palace (Dar al-Makhzen), military barracks, and residential neighbourhoods. Before then, the main center of power and government in Fes had been the Kasbah Bou Jeloud on the western edge of the old city (at the location of the still extant Bou Jeloud Mosque, near Bab Bou Jeloud gate).

The decision to create a new and highly fortified citadel separate from the old city (Fes el-Bali), may have reflected a continuous wariness of Moroccan rulers towards the highly independent and sometimes restive population of Fes. Another reason for building the new city was that the Almohad kasbahs, which were strictly military compounds, lacked the space required to establish a royal court and to house the Marinid troops. Moreover, by this time Aby Yusuf Ya'qub had also conquered Marrakesh (1269) and defeated the last Almohad holdouts in Tinmal (1275). Building a new palace-city was a frequent preoccupation of North African and Andalusi dynasties wishing to demonstrate their power, and so the foundation of the new city also symbolized the new era of Marinid rule.

The city's original name was Madinat al-Bayda, the "White City". Its construction appears to have been very rapid, as the royal court moved into the new palace barely a year later. The Oued Fes (Fes River; also known in this part as the Oued al-Jawahir, "River of Pearls") flowed along the base of the northern ramparts of the city. Sources also describe that the river, or some of its branches and canals, initially ran through the city itself.

The Marinid city was protected on all sides by two lines of walls, which on the east and west ran together but to the north and south were separated from each by intervening gardens or districts. What is now called the Old Mechouar (Vieux Méchouar), a large walled square fronting the entrance to the Royal Palace, was originally a fortified bridge over the Fes River set between two gates defending the northern entrance to the city. (Unlike today, the gate on the south side of this bridge/square led to the main city rather than directly to the palace, whose grounds did not yet extend to this point.) The northern gate of this bridge was known as Bab es-Sebaa (now called Bab Dekkakin), while the southern gate was known as the Bab al-Qantara ("Gate of the Bridge") or Bab al-Oued ("Gate of the River"). The relative importance of this northern entrance was likely due to the presence of the road to Meknes (the closest major city). From Bab al-Qantara the city's main street (now known as the Grande Rue de Fes el Jdid) ran directly to the southern gate, Bab 'Oyun Sanhaja (now called Bab Semmarine).

The Grand Mosque of Fes el-Jdid, adjacent to the palace grounds, was built around 1276 during the new city's foundation, and was connected by a private passage directly to the palace, allowing the sultan to come and go for prayers. The main Muslim neighbourhoods to the east of the Dar al-Makhzen appear to have developed progressively over the Marinid period and were each centered around their own main mosque, such as the al-Hamra Mosque (located on the main street, now called the Grande Rue), the Lalla az-Zhar Mosque (to the southwest) and the Lalla Ghriba Mosque (further east).

The Marinid Royal Gardens

Abu Yusuf Ya'qub had also wished to create a vast pleasure garden hut he died in 1286 before this could be accomplished. His son and successor, Abu Ya'qub Yusuf, carried out the work instead in 1287. He enlisted an Andalusian engineer, Ibn al-Hajj from Seville, to help create a vast garden covering 67 hectares to the north of Fes el-Jdid and the royal palace, known as the Mosara Garden. The water for the gardens was drawn from the Oued Fes via a huge noria (waterwheel) measuring 26 metres in diameter and 2 metres wide. The noria, sometimes referred to as the "Grand Noria", delivered the water into an aqueduct attached to Bab Dekkakin. From Bab Dekkakin, the aqueduct then carried the water to Bab Segma further north, and from there it was carried further into three large square basins spread across the gardens. Also located inside the gardens was a msalla, an open-air prayer area, known as the Msalla of the Sultan or the Msalla of Bab Segma. The gardens fell into ruin and eventually disappeared in subsequent centuries, most likely during the neglect of Fes throughout the Saadian period (16th–17th centuries), but traces of its structures have survived to modern times. The site of the garden is now mostly occupied by the large Bab Segma Cemetery (probably dating from the time of Moulay Rashid), inside of which the outline of some of the original basins can still be discerned.

Creation of the Jewish Mellah

Fes also hosted the largest and one of the oldest Jewish communities in Morocco. During the Marinid period the Jewish inhabitants, who had until then lived alongside the Muslim population in Fes el-Bali, were all moved to a new district occupying the south side of Fes el-Jdid. This district, possibly built after the initial foundation of the city, was located between the inner and outer southern walls of the city and was originally inhabited by Muslim garrisons, notably by the Sultan's contingents of Syrian archers. The district was known as Hims, named after Homs in Syria, or by the name Mellah (), due to either a saltwater source or a former salt warehouse in the area. The latter name was later retained as the name of the Jewish quarter. This was the first "mellah" in Morocco; a name and phenomenon that came to be replicated in many other cities in the country. (A notable exception to this was the nearby town of Sefrou.)

Both the exact reasons and the exact date for the creation of the Jewish Mellah of Fes are debated by scholars. Broader political motivations for moving the Jewish community to Fes el-Jdid, closer to the royal palace, may have included the Marinid rulers' desire to take more direct advantage (or control) of their merchant and artisan skills and of their commercial relations with Jewish communities in other countries (which could act as an avenue for foreign relations). Historical accounts confirm that in the mid-14th century the Jews of Fes were still living in Fes el-Bali but that by the end of the 16th century they were well-established in the Mellah of Fes el-Jdid. Some authors argue that the transfer likely happened in stages across the Marinid period, particularly following episodes of violence or repression against Jews in the old city. The urban fabric of the Mellah appears to have developed progressively and it's possible that a small Jewish population settled here right after the foundation of Fes el-Jdid and that other Jews fleeing the Fes el-Bali joined them later. Some authors attribute the move more specifically to a consequence of the "rediscovery" of Idris II's body in his zawiya at the center of the city in 1437. Following this, the area around the mosque was turned into a horm (sanctuary) where non-Muslims were not allowed to enter, resulting in the expulsion of the Jewish inhabitants from the city's commercial center. Many scholars therefore estimate that the move took place in the mid-15th century. The Mellah's Jewish cemetery was established at its western edge (the current site of Place des Alaouites) on land which was donated to the Jewish community by a Marinid princess named Lalla Mina in the 15th century.

Post-Marinid period (16th–19th centuries)

Fes el-Jdid, along with Fes el-Bali, entered a period of relative neglect after the Marinid decline and under the rule of the Saadians, who made Marrakech their capital and seemed to view the population of Fes with suspicion. The Saadians' main contribution was the construction of several imposing military bastions around the city, such as Borj Nord and Borj Sud overlooking Fes el-Bali. In Fes el-Jdid they added three bastions to the already formidable city walls on its eastern side; namely, those known as Borj Sheikh Ahmed, Borj Twil, and Borj Sidi Bou Nafa'. The western walls of the city, near Bab Agdal, were also given extra fortifications. It was only with the rise of the Alaouite dynasty that Fes became the capital again and reclaimed some of its prosperity. Further important developments took place in Fes el-Jdid during this period.

In 1671, the first Alaouite Sultan Moulay Rashid ordered the creation of a vast rectangular courtyard in the eastern part of the palace. This addition extended the Dar al-Makhzen grounds up to the edge of the Lalla ez-Zhar Mosque which had previously stood in the middle of a residential neighbourhood, cutting off one of the local streets. This was one of several occasions where the expansion of the palace cut into the general residential areas of Fes el-Jdid. Moulay Rashid also built the vast Kasbah Cherarda north of Fes el-Jdid in order to house his tribal troops. The housing of troops here also liberated new space in Fes el-Jdid itself, including the northwestern area which became the new Moulay Abdallah neighbourhood from the early 18th century onwards. This is where Sultan Moulay Abdallah (ruled between 1729 and 1757) erected a large mosque and royal necropolis for the Alaouite dynasty. Abdallah's successor, Sultan Mohammed ben Abdallah (ruled 1748 and 1757–1790), was responsible, according to some sources, for establishing the New Mechouar (north of the Old Mechouar); though other scholars attribute this to Moulay Hassan a century later.

The Alaouite period also saw periods of turmoil and regression. From 1790 to 1792 Sultan Moulay Yazid, largely seen as a cruel leader, forced the entire Jewish community to move from the Mellah to the outlying Kasbah Cherarda on the other side of Fes el-Jdid. The Mellah was occupied by tribal troops allied to him, its main synagogue was replaced by a mosque, and the Jewish cemetery and its contents were moved to a cemetery near Bab Guissa. Moreover, Moulay Yazid permanently reduced the size of the Mellah district by demolishing the old city walls around it and rebuilding them along a much shorter perimeter we see today. It was only after the sultan's death that the chief Muslim qadi (judge) of Fes ordered the Mellah to be restored to the Jewish community.