Al-Attarine Madrasa

[2][3][4][5] The Marinids were prolific builders of madrasas, a type of institution which originated in northeastern Iran by the early 11th century and was progressively adopted further west.

They used this patronage to encourage the loyalty of Fes's influential but fiercely independent religious elites and also to portray themselves to the general population as protectors and promoters of orthodox Sunni Islam.

[9] Many of these students were poor, seeking sufficient education to gain a higher position in their home towns, and the madrasas provided them with basic necessities such as lodging and bread.

[7][3] According to the Rawd el-Qirtas (historical chronicle), the sultan personally observed the laying of the madrasa's foundations, in the company of local ulema.

This second floor, accessed via a staircase off the southern side of the entrance vestibule, is occupied by 30 rooms which served as sleeping quarters for the students.

[4] The prayer hall itself is rectangular, but a triple-arched gallery on its north side allowed architects to place a square wooden cupola over the main space in front of the mihrab.

[4] This unusual but elegant solution to the limited and awkward space available for construction demonstrates the ingenuity and rational approach to design that Marinid architects had achieved by this time.

[2]: 313 [3]Although its exterior is completely plain (like most traditional Moroccan buildings of its kind), the madrasa is famous for its extensive and sophisticated interior decoration, which exhibits a rigorous balance between different elements, marking the period of highest achievement in Marinid architecture.

While most of the zellij is arranged to form geometric patterns and other motifs, its top layer, near eye-level, features a band of calligraphic inscriptions on sgraffito-style tiles running around the courtyard.

[2][3][5] Lastly, the upper zones generally feature surfaces of carved cedar wood, culminating in richly sculpted wooden eaves projecting over the top of the walls.

[3] Each piece is chiseled with a background of arabesque or vegetal motifs, as well as a small Kufic script composition inside each of the octagonal stars in the wider geometric pattern.

Photograph of the madrasa's prayer hall in the 1920s, with the mihrab and original bronze chandelier visible
Courtyard of the madrasa in 1916