Skip to content
Wellsprings
Ibn Khaldun

Ibn Khaldun

1332 CE1406 CE · Fez

Abd al-Rahman ibn Muhammad ibn Khaldun was a Sunni jurist of the Maliki madhhab (one of Sunni Islam's four legal schools), a statesman, and the historian whose work reshaped how scholars think about the rise and fall of societies. He was born in Tunis in 1332 (732 AH) into a family that traced its origins to Seville in al-Andalus, leaving when Christian forces advanced. Educated in Tunis, he served a series of Maghrebi and Andalusian courts as secretary, envoy, and minister, his fortunes rising and falling with each dynasty. He held office in Fez, served the Nasrid ruler Muhammad V in Granada, and worked as chamberlain in Bijaya.

Worn down by court politics, he withdrew around 1375 to a fortress in what is now Algeria, where over roughly three years he drafted the Muqaddima ("Introduction"), the prologue to his universal history. In it he proposed 'ilm al-'umran, a "science of human civilization," and the concept of 'asabiyya (group solidarity) to explain why dynasties cohere and then decay. Many later historians regard this as a founding work of historiography and social theory, though that assessment is a modern judgment rather than how his own age received him.

He settled in Cairo around 1382 under the Mamluk sultans, teaching and serving repeatedly as chief Maliki qadi (judge). His wife and children reportedly drowned at sea while joining him. He made the pilgrimage to Mecca and, in 1401, famously met the conqueror Timur outside besieged Damascus. He died in Cairo in 1406 (808 AH).

See Ibn Khaldun’s journey on the map →

Did you know?

  • Lowered by rope over a besieged city's wall to meet Tamerlane

    In 1401, as the conqueror Timur (Tamerlane) besieged Damascus, the historian Ibn Khaldun — who had come with the Mamluk entourage and remained inside the city — had himself lowered over the wall by rope to meet him. The two conversed over several weeks, and Ibn Khaldun recorded the encounter in his own autobiography.

    How we know

    Ibn Khaldun (1332–1406) met Timur (c.1336–1405) during Timur's siege of Damascus, winter 1400–1401; the meetings spanned ~35 days in early 1401 and are recorded in Ibn Khaldun's autobiography (al-Taʿrīf); Fischel, "Ibn Khaldun and Tamerlane" (1952).

Life journeyclick any stop, or use ←/→Trace on the map →

Stop 2 of 61354–1362Served At Court / Imprisoned

FezפאסMorocco

What they did here

He entered the service of the Marinid court at Fez as a secretary, a period that included roughly two years of imprisonment (c. 1357-1358) after falling out of favor. Dates follow his own autobiography as relayed by EI2-class summaries. Source: Britannica; Wikipedia.

About Fez

Fez (Fas), in north-central Morocco, was founded in the early 9th century by the Idrisid dynasty and became the political and intellectual capital of medieval Morocco, home to the Qarawiyyin mosque-university. The historian Ibn Khaldun (d. 1406) taught there for a period, and the Maliki jurist Ahmad al-Wansharisi (d. 1508), author of al-Mi'yar, was active in the city.

See other sages who lived in Fez

The world in their lifetime

Thinkers and teachers of other traditions whose lives overlapped with Ibn Khaldun’s — a glimpse of the wider world they lived in. Drawn purely from recorded birth and death years.

Works(3)