Fas (Fez)
The learned capital of the western Maghreb, seat of the Qarawiyyin and of the Marinid madrasas. Ibn Bajja died here in 1139, Maimonides took refuge here under the Almohads, Ibn Khaldun served the Marinids here before being imprisoned.
A city founded twice
Fez came into being at the turn of the eighth and ninth centuries, on the two banks of the river that carries its name. Tradition credits the founding to Idris I and then to his son Idris II, who settled the second bank early in the ninth century. Both quarters very soon received populations from elsewhere: families driven out of Kairouan on one bank, Andalusi refugees who had left Cordoba after a suppressed revolt on the other. The names of the two quarters, that of the Kairouanese and that of the Andalusis, still carry the trace of it.
That double origin determines the city's intellectual character. From the start Fez was a place of transit between the East, Ifriqiya and al-Andalus. Books, masters and doctrines arrived there along the trade routes. Until the modern period the city remained one of the most important book markets of the western Muslim world.
The Qarawiyyin
Around 857 a woman who had come from Kairouan, Fatima al-Fihriyya, funded the building of a mosque in her compatriots' quarter. The establishment, enlarged several times, became a considerable center of teaching. The religious sciences were taught there first, Maliki law, Quranic reading, grammar and prophetic tradition, and then gradually arithmetic, astronomy and medicine.
The institution served as a model for Moroccan higher education as a whole and it still functions. It is often presented as the oldest university in the world still in operation, a formula that has its share of truth and its share of anachronism: for centuries the Qarawiyyin was a mosque in which circles formed around masters, not an institution awarding degrees in the European sense.
The point that matters here is the orientation of that teaching. Fez is a city of Maliki jurists, a discipline in which it excels and which it exports throughout the Muslim West. That tradition's relation to Greek philosophy was long reserved, when it was not hostile. This is a milieu where you can read logic as an instrument, study astronomy as a useful science, and keep your distance from metaphysics.
Ibn Bajja, who died at Fez
Ibn Bajja, whom the Latins would call Avempace, is the first great philosopher of al-Andalus. Vizier at Zaragoza, then forced into exile by the Christian reconquest of the city, he crossed to the Maghreb and ended his life in the service of the Almoravids. He died at Fez in 1139. An early tradition, reported by several biographers, holds that he was poisoned by rivals. The fact cannot be verified, but it says something about a philosopher's position at court.
The work he left, the Regimen of the Solitary in particular, describes the situation of a man who thinks in a city that does not understand him, and for whom isolation is not a choice but a necessity. The correspondence between that thesis and its author's life has often been noticed. His death at Fez, far from Zaragoza, in a city whose learned milieu was not his own, is the most direct illustration of it.
Maimonides in hiding
In 1148 the Almohads seized the Maghreb and part of al-Andalus. Their doctrine, founded on an uncompromising assertion of divine unity, came with a new policy toward Jews and Christians: the protection granted to the peoples of the Book was suspended, and many found themselves facing a choice between conversion and exile. The Jewish communities of al-Andalus and the Maghreb were lastingly broken by it.
It is in that context that Maimonides's family, having left Cordoba, settled at Fez around 1159. The choice may be surprising, since Fez was then an Almohad capital. It is explained by the size and the age of the city's Jewish community, which offered a chance of blending in, and by the reputation of its schools. Maimonides stayed until about 1165, in a precarious situation, probably practicing his religion without displaying it.
Two parts of his work belong to this period. He worked on his great commentary on the Mishnah, begun in Spain and completed later in Egypt. And he wrote an epistle on the question the persecution was putting to thousands of people: what is a conversion extracted by force worth, and is a man who has pronounced the required formula still a Jew? His answer, which refuses to condemn forced converts and tells them to leave as soon as they can, is one of the most frequently cited texts of his early output.
The family left Fez for the Holy Land and then for Egypt. Maimonides never returned to the Maghreb.
The Marinid capital
In the thirteenth century the Marinids succeeded the Almohads and made Fez their capital. In 1276 they founded a new town beside the old one, and they equipped the city with a network of colleges, the madrasas, several of which survive. These establishments, which housed and maintained the students, transformed the material conditions of study: you no longer depended solely on the generosity of a master or a family.
The Marinid period is when Fez reached furthest. Scholars came to it from Granada, Tlemcen, Tunis and Cairo. It is also in this period that the Jewish community gradually gathered in the quarter called the mellah, near the new town. Historians still discuss the date and the exact reasons for that move, often placed in the fifteenth century: a protective regrouping or a setting apart, both readings have their supporters and the sources make it hard to decide.
Ibn Khaldun at court and in prison
Ibn Khaldun arrived at Fez in the middle of the 1350s, summoned by the Marinid sultan. He held posts as secretary and adviser, frequented a court where the men of letters of the whole Maghreb crossed paths, and acquired there the direct experience of the mechanisms of power that would later feed the Muqaddima. He also experienced their reverse side: compromised in an intrigue, he spent about two years in prison.
The theory he would develop on the formation and the decomposition of dynasties does not come out of abstract meditation. It comes from prolonged observation of the Maghrebi courts, of their tribal alliances, of the speed with which a power establishes itself there and then comes undone. Fez, where he served several masters in succession, is one of its principal fields of observation.
A crossroads rather than a center
Other figures passed through the city. The Andalusi mystic Ibn Arabi stayed there at the end of the twelfth century and placed some of his spiritual experiences there. The geographer and diplomat known in Europe as Leo Africanus grew up and was trained there before being captured and taken to Rome, where he would write his description of Africa. The Sufi brotherhoods established zawiyas there very early, which in the modern period would become teaching centers competing with the Qarawiyyin.
Fez thus illustrates a kind of place the history of philosophy often neglects: not the center where a doctrine takes shape, but the crossroads where traditions meet, keep watch on one another and sometimes block one another. The Andalusi philosopher who died there, the Jewish jurist who concealed himself there and the Tunisian historian who was jailed there founded no school. What they met there were the concrete conditions in which thinking is done, and most of their works carry the mark of that meeting.