
The Nizamiyya of Baghdad: When It Opened and Who Taught There
See why 1065 and 1067 both matter, who led the first class, how the endowment paid for teaching, and when al-Ghazali joined Baghdad’s Nizamiyya.
The Nizamiyya of Baghdad was an endowed madrasa founded by the Seljuq vizier Nizam al-Mulk. Construction began in 1065, the school opened in September 1067, and the jurist chosen for its chair, Abu Ishaq al-Shirazi, took up the post in October. Ibn al-Sabbagh led the opening session. The distinction matters because the story of the first class shows how a patron’s appointment, a scholar’s willingness to teach and an institution’s opening could all occur at different moments.
Why the school has more than one foundation date
The foundation year refers to the beginning of the building project. George Makdisi’s study of eleventh-century Baghdad gives 457 AH / 1065 for the foundation and 459 AH / 1067 for the inauguration. Abdülkerim Özaydın’s account of the Nizamiyya, citing Ibn al-Athir, places the start of construction in November 1065 and the opening on 22 September 1067. It identifies the east bank of the Tigris as the general setting. The dates describe different milestones of one school.
A third date, 13 October 1067, belongs to al-Shirazi’s first lecture and assumption of the chair. The difference between the two 1067 dates is visible once the person and the event are named. A founding date in a general survey can serve as shorthand. A timeline of the institution should show the opening, the change of teacher and the later public reading of the deed as separate entries.
| Date | Event in Baghdad | Evidence |
|---|---|---|
| 1065 | Foundation and start of construction | Makdisi and Özaydın, citing medieval accounts |
| 22 September 1067 | Opening session led by Ibn al-Sabbagh | Özaydın and the opening account translated by Makdisi |
| 13 October 1067 | Al-Shirazi takes up the law chair | Makdisi and the Iranica biography of al-Shirazi |
| 14 April 1070 | Public reading of the endowment deed | Ibn al-Jawzi’s account as discussed by Makdisi |
| 1091 | Nizam al-Mulk appoints al-Ghazali to teach | Frank Griffel’s biography of al-Ghazali |
What happened at the opening
Al-Shirazi was already an established Shafi‘i jurist in Baghdad. He had agreed to teach in the new madrasa, but he did not appear when people gathered for the opening. The full text of Makdisi’s study translates a medieval account in which the gathering proceeded with Ibn al-Sabbagh and a session of legal disputation. The same account describes concerns attributed to al-Shirazi about the acquisition of property or materials for the project. Those concerns are part of the reported reason for his absence.
The Encyclopaedia Iranica biography of al-Shirazi recounts that Ibn al-Sabbagh taught for about twenty days before al-Shirazi took over. The episode helps explain the value of an endowed chair to its patron, the teacher and students who expected to study there. The opening moved ahead even though the intended professor stayed away. Al-Shirazi’s eventual acceptance was another step in establishing how the school would work.
Makdisi’s translated narrative also puts the students in the story. It reports that Ibn al-Sabbagh allotted bread to law students during his tenure, and that al-Shirazi’s followers later pressed him to accept the post. The report brings a concrete provision and a group of students into a dispute that can otherwise read like an argument between prominent men. It records one episode in the school’s opening weeks. The terms and duration of other student provision need their own evidence.
Law teaching in Baghdad took place in several settings. Vanessa Van Renterghem’s study of Seljuq Baghdad places the Shafi‘i Nizamiyya alongside other endowed schools, including the Hanafi institution beside Abu Hanifa’s shrine in al-Rusafa in the same year. They served different legal traditions and had separate foundations. That urban setting makes the appointment dispute intelligible: the new chair belonged to a larger community of teachers, pupils and patrons who had other places to study law.
What the endowment supported
A waqf dedicated the income from property to a defined purpose. The deed of endowment could specify who administered the assets, who benefited and which work was paid for. Makdisi reports a public reading of the Baghdad Nizamiyya’s charter on 14 April 1070, when the school had already been operating for several years. He says the complete formal text was unavailable to him. He reconstructs important terms from clauses preserved by the chronicler Ibn al-Jawzi.
Those clauses describe a foundation for members of the Shafi‘i school in law and legal theory. They require the professor of law, preacher and librarian to meet the stated Shafi‘i qualifications, and they provide for Quran instruction and a teacher of Arabic grammar. Staff had specified shares of the endowment income. This is evidence about funded posts and the beneficiaries the deed names. Details of what happened in individual sessions come from other sources, including the opening narrative and accounts of teachers.
Özaydın identifies land, a market and shops among the property that generated income. The foundation thus tied teaching to assets outside the classroom. Makdisi also distinguishes who administered the two schools: Nizam al-Mulk retained control of the Nizamiyya’s administration, while holders of the professorial chair at the Abu Hanifa shrine college also administered that college. Two foundations could support teachers with endowed revenue and still give different people responsibility for the money.
Books, staff and support for students could give teaching a continuity that depended on more than a single lesson. The Iranica account of the medieval madrasa explains how lodging and stipends helped shape where students chose to study. A useful comparison is the endowed bimaristan, which also required a building, personnel and funds but organized care under its own terms. The relevant deed and institutional records are the places to look for each foundation’s work and beneficiaries.
How al-Ghazali fits into the story
Frank Griffel’s account of al-Ghazali’s life locates his studies with al-Juwayni at the Nizamiyya in Nishapur. Nizam al-Mulk appointed him in Baghdad in 1091. He left Baghdad in 1095 and later returned to teach at Nishapur in 1106. That sequence puts his first studies, his Baghdad chair and his later return to teaching in their respective cities.
Al-Ghazali wrote on law, theology and philosophy. His interests are evidence of the work of one scholar, whose career extended beyond the chair in Baghdad. The surviving foundation clauses give a narrower view of positions supported by the school. An ijaza, or authorization given by a teacher, could attest an individual relationship to a text, subject or practice. Read biographical accounts, foundation records and licenses together when they survive. They describe different parts of how someone studied and went on to teach.
What the library and later records show
İsmail E. Erünsal’s study of libraries describes a book collection at the Baghdad Nizamiyya and posts concerned with its care. A fire in 1116 led to books being moved out. Erünsal also cites Ibn al-Athir’s account of the caliph al-Nasir providing a new library in 1193 and transferring books from his collection. The two dates document different interventions. The accounts establish a collection that was cared for, moved when threatened and renewed over time. A precise total for the holdings at any one date would need a record with that scope.
Özaydın names al-Khatib al-Tabrizi as a librarian appointed by the founder and records a donation of books by Ibn al-Najjar in 1245. Together with the caliph’s 1193 provision, these examples show how several people could contribute to a collection across generations. A reader tracing the library can distinguish the establishment of a funded post, an emergency move and a later donation. Each event is evidence about a different part of keeping books available.
Özaydın discusses Ibn Jubayr’s visit in 1184 and Ibn Battuta’s visit in 1327. He also records teaching in the fourteenth century. His account gives differing assessments of damage during the Mongol conquest of Baghdad in 1258 and does not give a secure closing date. The visits, the evidence of teaching and the uncertain physical damage belong to different questions. Later activity provides grounds for tracing the school beyond the conquest, while the survival of its original buildings and collection must be assessed separately.
How to place the Nizamiyya in the history of education
Nizam al-Mulk supported schools in several cities. Their association with his patronage explains the shared name, and individual foundations had their own locations and teachers. Earlier institutions called madrasas appear in tenth-century records, as the Iranica survey explains. The Baghdad school’s prominence therefore rests on a documented endowment, an influential chair and the opportunities it offered students in a busy teaching city. Claims about the first university depend on what an author counts as a university. The evidence for Baghdad is strongest when the kind of institution and the terms of its foundation are stated directly.
The institution’s history also continued through maintenance away from the teaching room. Özaydın reports a fire in the school’s market in 1273–74 and repairs financed from the endowment under the governor Ata-Malik Juvayni. That episode belongs to the history of property and administration. The later teaching records belong to the history of instruction. Using them together gives a fuller account of the foundation after 1258.
The broad location on the east bank is described in written sources. Van Renterghem’s map notes how little archaeology survives to fix the positions of buildings in Seljuq Baghdad. A guide to surviving madrasa buildings shows how courtyards and teaching spaces can be studied where the fabric survives. For the Baghdad Nizamiyya, the most useful starting point is the record tied to each claim: the narrative of the opening for the first class, the surviving deed clauses for funded work, and the biographies for who held the chair.
Sources and editorial responsibility
- George Makdisi, Muslim institutions of learning in eleventh-century Baghdad. The 1961 article establishes the distinction between the foundation and inauguration dates.
- Full published text of Makdisi’s study. Includes the translated opening account and the discussion of the 1070 deed reading and surviving clauses.
- Abdülkerim Özaydın, Nizâmiye Medresesi. The TDV entry documents the beginning of construction, the September opening and later records of the school.
- Encyclopaedia Iranica, Abu Ishaq al-Shirazi. The biography distinguishes Ibn al-Sabbagh’s initial tenure and al-Shirazi’s October assumption.
- Vanessa Van Renterghem, Baghdad: A View from the Edge on the Seljuq Empire. Places the school among Seljuq-era foundations and explains the limits of mapping their locations.
- Encyclopaedia Iranica, The Medieval Madrasa. Explains earlier teaching institutions, residential support and the role of individual teachers.
- Frank Griffel, Al-Ghazali. Documents his years in Baghdad and Nishapur and puts the appointments in the context of his career.
- İsmail E. Erünsal, Kütüphane. Discusses the library, its staff, the fire and later provision for the collection.
The Muslim Post’s editorial review compared a translated opening account, surviving endowment clauses and modern studies. Exact dates are attached to the events described by the cited sources.





