Tunis al-Khadra (Tunis)
The capital of the Hafsid dynasty from 1229 and seat of the Zitouna mosque-university, Tunis is the birthplace of Ibn Khaldun. He was formed here, returned in 1378 and finished his universal history here before leaving for Egypt.
Before Tunis, Carthage
One confusion has to be cleared first. The site of Carthage lies today in the northern suburbs of Tunis, but the two cities are distinct and their histories do not overlap. Carthage was the great Punic and then Roman metropolis, and it was there that Augustine studied rhetoric in his youth, before Milan and before his conversion. Tunis was then no more than a secondary settlement.
It was after the Arab conquest and the founding of Kairouan that the balance shifted. Tunis grew slowly and then established itself in the thirteenth century as a capital. The Carthaginian past is not its direct inheritance, even if the two places touch geographically.
The Hafsid capital
In 1229 the governor Abu Zakariyya made himself independent of the Almohads and founded the Hafsid dynasty, which ruled Ifriqiya until the sixteenth century. Tunis became the capital and remained so.
That status has a direct intellectual consequence. The Hafsid court employed secretaries, jurists and chroniclers, and it drew men of letters. Above all it received the successive waves of Andalusi refugees driven out by the Christian reconquest, who brought with them an already mature learned tradition, nourished by Cordoba and Seville. Ibn Khaldun's family, which came from Seville, belonged to those Andalusi lines settled in Ifriqiya.
The Zitouna mosque, whose origins go back to the eighth century, is the heart of that teaching. The Quran was read there, along with hadith, Maliki law and language, but also logic and what the tradition calls the sciences of the ancients, to the extent that they serve the other disciplines. The teaching there is not philosophical in the way it would be in a Greek school: it is legal and religious, with openings. It is in that frame, and not in an academy, that a mind like Ibn Khaldun's was formed.
The formation of Ibn Khaldun
Ibn Khaldun was born at Tunis in 1332. He received there the classical education of a notable's son: memorization of the Quran, grammar, law and poetry. His father was his first teacher.
Around the age of fifteen he met scholars who had come from outside, al-Abili in particular, of whom he would speak all his life as his true master. It was through him that he reached logic, philosophy and mathematics. That detail counts: the philosophical opening of fourteenth-century Tunis depends on the movement of people, which a capital makes possible, rather than on a program of study.
The year 1348 marks a break. The Black Death reached Tunis and carried off Ibn Khaldun's mother; his father died early in 1349. Some of his teachers died or left the city. The experience of that catastrophe, which he would describe in his writings as a collapse of civilization, is probably not unrelated to the turn his thought took, attentive as it is to the cycles of rise and decline.
He entered politics in 1350, left Tunis in 1352 and began a long wandering career that took him to Fez, to Andalusia, to Bejaia and to Tlemcen, from office to disgrace.
The return, and the completion of a work
Having written the first version of the Muqaddima in the seclusion of the Beni Salama fortress, between 1374 and 1377, Ibn Khaldun returned to Tunis in 1378.
The stay lasted four years. He taught there, he reached the libraries he had lacked in his isolation, and he worked on the whole of which the Muqaddima is only the introduction, the Book of Lessons, a vast universal history. Tunis is therefore less the place of invention than the place of documentation and finishing: a work conceived in the solitude of the desert was completed there in contact with books and disputes.
Those years were also difficult. His relations with the Hafsid ruler Abu al-Abbas stayed strained, court jealousies multiplied, and the murder of his brother Yahya in 1379 darkened the picture. In 1382 he embarked for Alexandria on the pretext of a pilgrimage and never returned. He would spend the rest of his life at Cairo, where he taught and held the office of Maliki chief qadi.
What the city made possible
It would be too much to speak of a Tunisian philosophical school. But the case is worth looking at closely, because it throws light on a general question: what does a place need for a work to become possible in it?
Three elements come together here. An old and stable teaching institution, which passes on tools, logic first among them. A political capital, which offers offices, archives and the direct observation of power, which the Muqaddima makes its principal material. And a crossroads, where the Andalusi, Maghrebi and eastern traditions meet, which keeps any single tradition from imposing itself as self-evident.
Ibn Khaldun's originality, which consists in looking for the causes of social phenomena in the nature of human groupings rather than in the will of princes or in providence, has something to do with that position of a mobile observer, formed in a city where dynasties are seen to pass.
The Zitouna in later centuries
The intellectual history of Tunis obviously does not stop in the fourteenth century, even if it leaves the strictly philosophical domain.
In the nineteenth century the city was one of the centers of reform in the Muslim world. Khayr al-Din, a statesman and the author of a treatise on the reforms Muslim states needed, founded there in 1875 the Sadiki college, intended to combine traditional learning with the modern sciences. The question raised there is philosophical as much as political: how do you borrow from European institutions without giving yourself up?
Early in the twentieth century Tahar Haddad, trained at the Zitouna, published in 1930 a work on the place of women in Islamic legislation and in society that earned him a violent condemnation from his peers and the loss of his degree. His argument, founded on a distinction between the principles of revelation and the historical customs grafted onto them, belongs in its own right to the history of critical thought in Arabic.
The Zitouna, now a modern university, and the work of contemporary Tunisian historians and thinkers on Islamic reason and on the history of Arab thought keep the city in that conversation.
What to take away
Tunis was neither an Athens nor a Baghdad. It housed no massive translation effort and no controversy that fixed a doctrine. What it offers is more modest and more instructive: the example of a place of transmission, where an inheritance kept without any particular brilliance made possible, at one moment, a body of thought that resembled nothing taught there.