Al-Mustansiriyya Madrasa () was a medieval-era scholarly complex in
Baghdad
Baghdad ( or ; , ) is the capital and List of largest cities of Iraq, largest city of Iraq, located along the Tigris in the central part of the country. With a population exceeding 7 million, it ranks among the List of largest cities in the A ...
,
Iraq
Iraq, officially the Republic of Iraq, is a country in West Asia. It is bordered by Saudi Arabia to Iraq–Saudi Arabia border, the south, Turkey to Iraq–Turkey border, the north, Iran to Iran–Iraq border, the east, the Persian Gulf and ...
, that provided a universal system of higher education. It was established in 1227 CE and was named after and built by the Abbasid Caliph
al-Mustansir in
Baghdad, Iraq
Baghdad ( or ; , ) is the capital and List of largest cities of Iraq, largest city of Iraq, located along the Tigris in the central part of the country. With a population exceeding 7 million, it ranks among the List of largest cities in the A ...
. The Madrasa taught many different subjects, including medicine, math, literature, grammar, philosophy, and Islamic religious studies. However, the major focus of education was Islamic law. It became the most prominent and high-ranking center for Islamic studies in all of Baghdad.
The architecture of the madrasa was also an important example of Islamic architectural development in Baghdad. The Madrasa has experienced several periods of decline and reemergence throughout its history. The most significant degradation to the Madrasa's architecture and position within Baghdad was the 1258 Mongol
Siege of Baghdad
The siege of Baghdad took place in early 1258. A large army commanded by Hulegu, a prince of the Mongol Empire, attacked the historic capital of the Abbasid Caliphate after a series of provocations from its ruler, caliph al-Musta'sim. Within ...
. Today, the complex is in a state of restoration as is it being overseen by the Directorate of Antiquities in Iraq. It is currently a part of
al-Mustansiriyya University, and is located on the left bank of the
Tigris
The Tigris ( ; see #Etymology, below) is the eastern of the two great rivers that define Mesopotamia, the other being the Euphrates. The river flows south from the mountains of the Armenian Highlands through the Syrian Desert, Syrian and Arabia ...
River.
Al-Mustansiriyya Madrasa remains one of the only surviving and authentic landmarks of Abbasid Baghdad. It is officially listed as a part of a tentative
UNESCO
The United Nations Educational, Scientific and Cultural Organization (UNESCO ) is a List of specialized agencies of the United Nations, specialized agency of the United Nations (UN) with the aim of promoting world peace and International secur ...
World Heritage Site
World Heritage Sites are landmarks and areas with legal protection under an treaty, international treaty administered by UNESCO for having cultural, historical, or scientific significance. The sites are judged to contain "cultural and natural ...
list as an important example of historical Baghdad.
Historical background
Establishment in the late Abbasid Period
Madrasas
Madrasa (, also , ; Arabic: مدرسة , ), sometimes Romanization of Arabic, romanized as madrasah or madrassa, is the Arabic word for any Educational institution, type of educational institution, secular or religious (of any religion), whet ...
during the
Abbasid period
The Abbasid Caliphate or Abbasid Empire (; ) was the third caliphate to succeed the Islamic prophet Muhammad. It was founded by a dynasty descended from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 CE), from whom the dynasty takes i ...
were used as the predominant instrument to foster the spread of Islamic and scientific thought as well as a way to extend the founder's pious ideals.
This madrasa was established by Caliph al-Mustansir and its cost amounted to 700 thousand dinars, and it was opened for study on the 6th of April, 1233, and a large celebration and feast was held in its opening. It was the first Islamic university in which the study of jurisprudence based on the four schools of thought;
Hanafi
The Hanafi school or Hanafism is the oldest and largest Madhhab, school of Islamic jurisprudence out of the four schools within Sunni Islam. It developed from the teachings of the Faqīh, jurist and theologian Abu Hanifa (), who systemised the ...
,
Shafi’i
The Shafi'i school or Shafi'i Madhhab () or Shafi'i is one of the four major schools of fiqh (Islamic jurisprudence), belonging to the Ahl al-Hadith tradition within Sunni Islam. It was founded by the Muslim scholar, jurist, and traditionist al ...
,
Maliki
The Maliki school or Malikism is one of the four major madhhab, schools of Islamic jurisprudence within Sunni Islam. It was founded by Malik ibn Anas () in the 8th century. In contrast to the Ahl al-Hadith and Ahl al-Ra'y schools of thought, the ...
, and
Hanbali
The Hanbali school or Hanbalism is one of the four major schools of Islamic jurisprudence, belonging to the Ahl al-Hadith tradition within Sunni Islam. It is named after and based on the teachings of the 9th-century scholar, jurist and tradit ...
and all were combined into “one school.” This inspired
al-Salihiyya Madrasa in
Cairo
Cairo ( ; , ) is the Capital city, capital and largest city of Egypt and the Cairo Governorate, being home to more than 10 million people. It is also part of the List of urban agglomerations in Africa, largest urban agglomeration in Africa, L ...
which was established almost a decade after the Baghdadi madrasa and also taught and mixed four schools of thought into one.
In addition to theological schools of thought, it also had several other disciplines such as
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
,
algebra
Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
, and
philosophy
Philosophy ('love of wisdom' in Ancient Greek) is a systematic study of general and fundamental questions concerning topics like existence, reason, knowledge, Value (ethics and social sciences), value, mind, and language. It is a rational an ...
. The scholarly university provided students from all over Iraq with academic education, lodgings, clothes, food, and monthly allowances.
The management of the Madrasa was carried out by a headmaster who was chosen by the senior state employees. The headmaster was assisted by a number of assistants, led by the supervisor, who was like the financial inspector. A number of employees were also hired to serve the teachers and students. Teachers usually consisted of senior Sheikhs and Imams from Iraq, the
Levant
The Levant ( ) is the subregion that borders the Eastern Mediterranean, Eastern Mediterranean sea to the west, and forms the core of West Asia and the political term, Middle East, ''Middle East''. In its narrowest sense, which is in use toda ...
and
Egypt
Egypt ( , ), officially the Arab Republic of Egypt, is a country spanning the Northeast Africa, northeast corner of Africa and Western Asia, southwest corner of Asia via the Sinai Peninsula. It is bordered by the Mediterranean Sea to northe ...
who were known for their deep research and study. Some of the teachers were also assisted by higher teachers. Employees of the Madrasa also had a salary.
Due to the diversity of its subjects, the madrasa had several institutions established by al-Mustansir that taught several different subjects.
In 1235, an early monumental water-powered
alarm clock
An alarm clock or alarm is a clock that is designed to alert an individual or group of people at a specified time. The primary function of these clocks is to awaken people from their night's sleep or short naps; they can sometimes be used for o ...
that announced the appointed
hours of prayer and the time both by day and by night was completed in the entrance hall of al-Mustansiriyya Madrasa in Baghdad.
Education and features

Within the school of Islamic studies, there were specific institutions of Islamic knowledge. The divisions included the ''Dar al-Hadith'', in which a high level sheikh and a Qur'an
Qāriʾ
A qāriʾ (, plural ''qurrāʾ'' or ''qaraʾa''; feminine form: qāriʾa ) is a person who recites the Quran with the proper rules of recitation ('' tajwid'').
Although it is encouraged, a qāriʾ does not necessarily have to memorize the Qura ...
would recite
hadiths
Hadith is the Arabic word for a 'report' or an 'account f an event and refers to the Islamic oral tradition of anecdotes containing the purported words, actions, and the silent approvals of the Islamic prophet Muhammad or his immediate circle ...
every Monday, Thursday, and Saturday to a class of ten. Dar al-Hadith was dedicated to the study of the sayings and traditions of the Prophet
Muhammad
Muhammad (8 June 632 CE) was an Arab religious and political leader and the founder of Islam. Muhammad in Islam, According to Islam, he was a prophet who was divinely inspired to preach and confirm the tawhid, monotheistic teachings of A ...
. Another significant institution was the ''Dar al-Qur’an'', which was dedicated to the study and recitation of the
Qur’an
The Quran, also Romanization, romanized Qur'an or Koran, is the central religious text of Islam, believed by Muslims to be a Waḥy, revelation directly from God in Islam, God (''Allah, Allāh''). It is organized in 114 chapters (, ) which ...
. There was a designated reciter of the Qur'an and a fellow aid to help teach the students. Along with the students, there were thirty orphans who were housed in the complex. All students, including the orphans, were designated an equal wage, bread, and stew. Within this school, there was a senior scholar, or
''Shiekh'''','' who held the highest position of education within the scholarly complex.
Additionally, the School of Medicine was housed in al-Mustansiriyya Madrasa. The School of Medicine was led by a senior Muslim physician who was required to have ten students employed to him. There was also a hospital located in the Madrasa, allowing medical students to learn and practice medicine within the same complex.
Despite the fact that Muslim jurists taught in the scholarly complex and its institutions, evidence in
Ibn al-Athir's ''
The Complete History
''The Complete History'' (, ''al-Kāmil fit-Tārīkh)'', is a classic Islamic history book written by Ali ibn al-Athir. Composed in ca. 1231AD/628AH, it is one of the most important Islamic historical works. Ibn al-Athir was a contemporary and m ...
'' suggests that none-Muslims were not forbidden from also teaching. In fact, Abbasid Caliphs had encouraged Christian and Jewish scholars, who had their own institutions and religious monasteries, to teach in the scholarly complex.
Al-Mustansiriya Madrasa included a variety of buildings such as a
hammam
A hammam (), also often called a Turkish bath by Westerners, is a type of steam bath or a place of public bathing associated with the Islamic world. It is a prominent feature in the culture of the Muslim world and was inherited from the model ...
, public hospital, pharmacy, food storage site, and kitchen.
There was also space designated for student residences. The Madrasa provided food, lodging, clothing, and a monthly stipend for its students. Its library had an initial collection of 80,000 volumes, given by the Caliph. The collection was said to have grown to 400,000 volumes, although the reports of both these figures may have been exaggerated.
Even though the libraries’ collection survived the Mongol sack of 1258 CE, it was merged with that of
al-Nizamiyya Madrasa in 1393 CE, whose collection had subsequently been dispersed or disappeared. As a result of the Ottoman invasion and capture of Baghdad in 1534 CE, books from the palaces and libraries were taken as the spoils of war and became an important part of the royal library in Istanbul.
Decline and later use
After the 13th century, the Madrasa experienced a period of decline in prominence, followed by fluctuating centuries of purpose and power. The widespread annihilation and conquest of the
Mongols
Mongols are an East Asian ethnic group native to Mongolia, China ( Inner Mongolia and other 11 autonomous territories), as well as the republics of Buryatia and Kalmykia in Russia. The Mongols are the principal member of the large family o ...
throughout the
Middle East
The Middle East (term originally coined in English language) is a geopolitical region encompassing the Arabian Peninsula, the Levant, Turkey, Egypt, Iran, and Iraq.
The term came into widespread usage by the United Kingdom and western Eur ...
resulted in the first stages of transformation for the complex. The Mongol Sack of 1258 devastated parts of the Madrasa that were later restored. After the initial attack, the Mongols settled in Baghdad under the emperors of the
Il-Khanids.
Among the notables of the madrasa during this period was the librarian and historian
Ibn al-Fuwati
Kamāl al-Dīn ʿAbd al-Razzāḳ ibn Aḥmad ibn al-Fuwaṭī () best known as Ibn al-Fuwati (25 June 1244 – 1323), was a medieval librarian and historian who wrote a great deal, but whose works have mostly been lost. His most important extant w ...
who returned to Baghdad in 1281 and was appointed director of the Madrasa.
Under
Tamerlane
Timur, also known as Tamerlane (1320s17/18 February 1405), was a Turco-Mongol tradition, Turco-Mongol conqueror who founded the Timurid Empire in and around modern-day Afghanistan, Iran, and Central Asia, becoming the first ruler of the Timuri ...
, the madrasas of Baghdad, including this one, suffered greatly and studies in them were suspended. He had destroyed Baghdad twice, first in 1392 and second in 1400, and destroyed its schools; he took many of its writers, engineers, and architects to
Samarkand
Samarkand ( ; Uzbek language, Uzbek and Tajik language, Tajik: Самарқанд / Samarqand, ) is a city in southeastern Uzbekistan and among the List of oldest continuously inhabited cities, oldest continuously inhabited cities in Central As ...
. The Madrasa's library has also lost thousands of books and a large number of its scholars left Baghdad to Egypt, the Levant, and other Islamic countries at the time. Two centuries after Tamerlane's destruction, there was an attempt at revival in 1589 but it closed its doors in 1638.
In its place, the
Mosque-Madrasa of al-Asifyah
The Mosque-Madrasa of al-Asifyah () is a complex of mosque and madrasa located near the riverbank of Tigris, in Baghdad, Iraq. The mosque and its associated complex including school buildings, old courts and other former government buildings, and ...
was established and connected to the Madrasa.
In 1534, the
Ottoman Turks
The Ottoman Turks () were a Turkic peoples, Turkic ethnic group in Anatolia. Originally from Central Asia, they migrated to Anatolia in the 13th century and founded the Ottoman Empire, in which they remained socio-politically dominant for the e ...
seized control, maintaining a stable reign until the British accession in the early 20th century. During the late 18th to early 20th century, al-Mustansiriyya Madrasa was used largely for military purposes such as serving as a place of rest and resource as well as a storage house for soldier uniforms. This multipurpose building also became known as the ''Khan al-Muwasilah'' in the 18th century specifically, which served as a
caravanserai
A caravanserai (or caravansary; ) was an inn that provided lodging for travelers, merchants, and Caravan (travellers), caravans. They were present throughout much of the Islamic world. Depending on the region and period, they were called by a ...
for traders passing through Baghdad.
Over the years, the madrasa suffered from neglect, and much of the building was lost until 1960 when the Iraqi government restored the Madrasa's complex and opened it for visits and tourists as a historic monument.
Architecture
Layout

Al-Mustansiriyya Madrasa is one of the only buildings still standing that provides evidence for Baghdad's role as a center for Islamic Art and for the city's role in the development of geometric ornaments. The layout of the Madrasa is a basic
four-iwan plan fit into a two-story rectangular building with a large courtyard. Each school of Islamic law was designated to a separate corner of the building.
Decorations
Some of the main decorative features includes
muqarnas
Muqarnas (), also known in Iberian architecture as Mocárabe (from ), is a form of three-dimensional decoration in Islamic architecture in which rows or tiers of niche-like elements are projected over others below. It is an archetypal form of I ...
; series of interconnected vaults used to highlight
squinch
In architecture, a squinch is a structural element used to support the base of a circular or octagonal dome that surmounts a square-plan chamber. Squinches are placed to diagonally span each of the upper internal corners ( vertices) where the w ...
zones of
dome
A dome () is an architectural element similar to the hollow upper half of a sphere. There is significant overlap with the term cupola, which may also refer to a dome or a structure on top of a dome. The precise definition of a dome has been a m ...
s or exterior of
minaret
A minaret is a type of tower typically built into or adjacent to mosques. Minarets are generally used to project the Muslim call to prayer (''adhan'') from a muezzin, but they also served as landmarks and symbols of Islam's presence. They can h ...
s and domes. Al-Mustansiriyya incorporates
arabesque
The arabesque is a form of artistic decoration consisting of "surface decorations based on rhythmic linear patterns of scrolling and interlacing foliage, tendrils" or plain lines, often combined with other elements. Another definition is "Foliate ...
and carved brick decoration in an exterior tripartite façade. The main entrance is made up of three conical archways, star and polygon figures, and an inscription describing the patron of the building, Al-Mustansir. Earlier Umayyad and Abbasid themes of foliage and greenery are also evoked in the exterior façade of the entrance archways. The other entrances are ornately decorated with geometric patterns of zig-zags, square designs, and ornamentation centered around water. The southwestern entrance also includes a later inscription about the Ottoman
Sultan Abd al-Aziz.
File:Old rusafa (1).jpg, Gate of the Madrasa which includes Qu'ranic verses.
File:Al-Mustansriah School - NW Door 2.jpg, The courtyard of the Madrasa.
File:Al-Mustansriah School - SW Door.jpg, Three of the arched openings of the Madrasa's complex.
File:ممرات المدرسة المستنصرية.jpg, Inside one of the corridors on the second floor.
File:Al-Mustansriah School - Dome.jpg, A rooftop which includes a dome of the Madrasa.
Water clock
There's evidence that suggests that in 1235, the madrasa contained an example of an early monumental water-powered alarm clock that announced the appointed hours of prayer and the time both by day and by night in the entrance hall as the Abbasids had many of these water-powered clocks at the time. The clock was said to be built by a man named "Ali Ibn Tha’lab" and based on the traditional clocks found in Damascus at the time. The clock included metallic and golden doors; bird figurines dropping metal balls into vessels that told the elapsing of an hour during the day as well as functions and lighting to announce the night which mirrored the movements of celestial objects.
Furthermore, the clock was mentioned with great detail in ''aI-Hawadith al-Jami'a Wal-Tajarub al-Nafi'a Fi al-Mi'a al-Sabi'a'' by
Ibn al-Fuwati
Kamāl al-Dīn ʿAbd al-Razzāḳ ibn Aḥmad ibn al-Fuwaṭī () best known as Ibn al-Fuwati (25 June 1244 – 1323), was a medieval librarian and historian who wrote a great deal, but whose works have mostly been lost. His most important extant w ...
which dealt with the period of Iraq before the Mongol invasion. It is safe to assume that since Ibn al-Fuwati was a native of Baghdad, the following description he gave on the clock was either his eyewitness account or one that he heard firsthand from another person. Ibn al-Fuwati recounts:
''“On the outside wall of this counter was a circle on which there was a depiction of the heavens, and on it were many finely decorated bronze arches housing finely decorated doors. Within the circle were two model falcons, made of gold, each inside a golden bowl. Two bronze ball bearings were positioned behind each falcon so that they were not visible to the observer. At the moment of the elapsing of an hour, the mouth of each falcon opened, and out fell the ball bearings. Each time a ball bearing fell, one of the doors inside the arches opened. The doors were golden, but they then became silver (i.e. the golden door was replaced by a silver one). When the ball bearings fall into the bowls below they then run back to their original positions. Then golden planets ascend into the azure sky within this depiction of the heavens simultaneously with the rising of the real sun in the sky. They move n the clock facemirroring the movement of the sun across the sky o that they eventually
O, or o, is the fifteenth letter and the fourth vowel letter of the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''o'' (pronounced ), p ...
descend and disappear with the setting of the sun. When night comes then there are planets that gradually emerge o the observerbecause of a light glowing from behind them. The trength of thelight emitting from the discs of the planets rows gradually andreaches its fullest intensity on the completion of a full hour. Then this process begins in the next planet-disc and so on until the night ends and the sun begins to rise. In this way, you can know the times of the prayers.”''
Modern-day use and restoration

In 1973, al-Mustansiriyya Madrasa was overseen by the Directorate of Antiquities in Iraq. Since then, the complex has been in a consistent state of reconstruction. Recently, the modern businesses surrounding the Madrasa have been demolished with the intention of restoring the original perimeters of the complex.
As a result of the reconstruction and conservation of this complex, al-Mustansiriyya Madrasa still plays an important role in Baghdad as the Madrasa is now part of
al-Mustansiriyya University.
Currently, the Minister of Culture takes care of the complex of the madrasa. Al-Mustansiriyya Madrasa was included on the list of the
Islamic World Educational, Scientific and Cultural Organization (ISESCO) in 2013, due to its great importance and significance in Islamic history. Generally, al-Mustansiriyya Madrasa is sometimes recognized as the first university of its time. In 2020, the Abbasid complex was closed for maintenance and restoration purposes although the restoration was stretched due to the
Covid-19 pandemic
The COVID-19 pandemic (also known as the coronavirus pandemic and COVID pandemic), caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), began with an disease outbreak, outbreak of COVID-19 in Wuhan, China, in December ...
. The complex is also fenced with an iron fence surrounding it on all sides.
See also
*
Abbasid architecture
Abbasid architecture developed in the Abbasid Caliphate (750 to 1258 CE), primarily in its heartland of Mesopotamia (Iraq). The great changes of the Abbasid era can be characterized as at the same time political, geo-political and cultural. The A ...
*
Abbasid Palace
*
Education in Iraq
*
Al-Khulafa Mosque
References
Works cited
*
*
*
*
External links
{{Commons category, Mustansiriya Madrasah
* https://web.archive.org/web/20070930022328/http://arabworld.nitle.org/texts.php?module_id=12&reading_id=118&sequence=10
* https://web.archive.org/web/20070930033359/http://hnn.us/comments/9850.html
* https://web.archive.org/web/20100702145209/http://www.uomustansiriyah.edu.iq/english_index.html
1233 establishments in Asia
History of education in Baghdad
Madrasas in Iraq
Buildings and structures in Baghdad
Baghdad under the Abbasid Caliphate
13th-century madrasas