Ibn Khaldun (27 May 1332 – 17 March 1406, 732–808 AH) was an Arab scholar, historian, philosopher, and sociologist. He is widely acknowledged to be one of the greatest social scientists of the Middle Ages, and is considered by a number of scholars to be a major forerunner of historiography, sociology, economics, and demography studies.

His best-known book is the Muqaddimah or Prolegomena ("Introduction"), which he wrote in six months as he states in his autobiography. It later influenced 17th-century and 19th-century Ottoman historians such as Kâtip Çelebi, Mustafa Naima and Ahmed Cevdet Pasha, who used its theories to analyze the growth and decline of the Ottoman Empire. Ibn Khaldun interacted with Tamerlane, the founder of the Timurid Empire.

He has been called one of the most prominent Muslim and Arab scholars and historians. Recently, Ibn Khaldun's works have been compared with those of influential European philosophers such as Niccolò Machiavelli, Giambattista Vico, David Hume, G. W. F. Hegel, Karl Marx, and Auguste Comte as well as the economists David Ricardo and Adam Smith, suggesting that their ideas found precedent (although not direct influence) in his. He has also been influential on certain modern Islamic thinkers (e.g. those of the traditionalist school).

Early life and family

thumb|200px|Ibn Khaldun – Life-size bronze bust sculpture of Ibn Khaldun that is part of the collection at the Arab American National Museum (Catalog Number 2010.02). Commissioned by The Tunisian Community Center and Created by Patrick Morelli of Albany, New York, in 2009. It was inspired by the statue of Ibn Khaldun erected at the Avenue Habib Bourguiba in [[Tunis.]]

Ibn Khaldun's life is relatively well-documented, as he wrote an autobiography (, '; Presenting Ibn Khaldun and his Journey West and East) in which numerous documents regarding his life are quoted word-for-word.

Abū Zayd 'Abdu r-Rahman bin Muhammad bin Khaldūn Al-Hadrami, generally known as "Ibn Khaldūn" after a remote ancestor, was born in Tunis in AD 1332 (732 AH) into an upper-class Andalusian family of Arab descent. The TDV İslâm Ansiklopedisi notes that he is also described with multiple nisbahs, including al-Ḥaḍramī (reflecting claimed origins in Ḥaḍramawt), as well as al-Tūnisī and al-Maghribī due to his birth and long residence in North Africa. It further notes that the plague of 749/1348 was a major turning point during his youth, during which he lost close family members and teachers.

Ibn Khaldun lost both his parents as well as some of his teachers in the plague of 749, or 1348. After this had occurred, Sultan Abū al-Ḥasan returned to Fez along with the scholars he had brought to Tunis. Ibn Khaldun originally intended to go to Fez with his teachers and continue his studies there, but his older brother Muḥammad advised him otherwise, effectively dissuading him.

In his autobiography, Khaldun traces his descent back to the time of Prophet Muhammad through an Arab tribe from the south of the Arabian Peninsula, specifically the Hadhramaut, which came to the Iberian Peninsula in the 8th century, at the beginning of the Islamic conquest: "And our ancestry is from Hadhramaut, from the Arabs of Arabian Peninsula, via Wa'il ibn Hujr also known as Hujr ibn 'Adi, from the best of the Arabs, well-known and respected." (p. 2429, Al-Waraq's edition).

Ibn Khaldun's insistence and attachment to his claim of Arab ancestry at a time of domination by Berber dynasties is a valid reason to believe his claim of Arab descent.

Education

His family's high rank enabled Ibn Khaldun to study with prominent teachers in Maghreb. He received a classical Islamic education, studying the Quran, which he memorized by heart, Arabic linguistics; the basis for understanding the Qur'an, hadith, sharia (law) and fiqh (jurisprudence). He received certification (ijazah) for all of those subjects.

He recited the Quran to ʿAbd Allāh ibn Saʿd ibn Nazzāl, and this was done both individually and collectively. He learned Arabic from his father, who was named Abū ʿAbd Allāh al-Sāʾirī, as well as a few other scholars.

The mathematician and philosopher Al-Abili of Tlemcen introduced him to mathematics, logic, and philosophy. He studied the works of Averroes, Avicenna, Razi and Tusi. At the age of 17, Ibn Khaldūn lost both his parents to the Black Death, an intercontinental epidemic of the plague that hit Tunis in 1348–1349. Al-Sakhāwī reports that he memorized the Qur’an and studied qirāʾāt (including the seven readings), along with Arabic and Mālikī jurisprudence in Tunis before his later travels and state service.(entry no. 387)shif

Following family tradition, he strove for a political career. In the face of a tumultuous political situation in North Africa, that required a high degree of skill in developing and dropping alliances prudently to avoid falling with the short-lived regimes of the time. Ibn Khaldūn's autobiography is the story of an adventure, in which he spends time in prison, reaches the highest offices and falls again into exile.

Political career

thumb|Birth home of Ibn Khaldun at [[Tunis]]

thumb|The mosque in which Ibn Khaldun studied

At the age of 20, he began his political career in the chancellery of the Tunisian ruler Ibn Tafrakin with the position of Kātib al-'Alāmah (seal-bearer), which consisted of writing in fine calligraphy the typical introductory notes of official documents. In 1352, Abū Ziad, the sultan of Constantine, marched on Tunis and defeated it. Ibn Khaldūn, in any case unhappy with his respected but politically meaningless position, followed his teacher Abili to Fez. There, the Marinid sultan, Abū Inan Fares I, appointed him as a writer of royal proclamations, but Ibn Khaldūn still schemed against his employer, which, in 1357, got the 25-year-old a 22-month prison sentence. Upon the death of Abū Inan in 1358, Vizier al-Hasān ibn-Umar granted him freedom and reinstated him to his rank and offices. Ibn Khaldūn then schemed against Abū Inan's successor, Abū Salem Ibrahim III, with Abū Salem's exiled uncle, Abū Salem. When Abū Salem came to power, he gave Ibn Khaldūn a ministerial position, the first position to correspond with Ibn Khaldūn's ambitions.

Al-Sakhāwī summarizes his career as including travel through major western Islamic centers such as Fez, Granada, and Tlemcen, alongside repeated shifts between political roles. The same entry notes that he later arrived in Cairo in Shaʿbān 782 AH/1380 CE. Therefore, in 1378, he returned to his native Tunis, which had meanwhile been conquered by Abū l-Abbas, who took Ibn Khaldūn back into his service. There, he devoted himself almost exclusively to his studies and completed his history of the world. His relationship with Abū l-Abbas remained strained, as the latter questioned his loyalty. That was brought into sharp contrast after Ibn Khaldūn presented him with a copy of the completed history that omitted the usual panegyric to the ruler. Under pretence of going on the Hajj to Mecca, something for which a Muslim ruler could not simply refuse permission, Ibn Khaldūn was able to leave Tunis and to sail to Alexandria.

Later life

thumbnail|Ibn Khaldun Statue and Square, [[Mohandessin, Cairo]]

Ibn Khaldun said of Egypt, "He who has not seen it does not know the power of Islam." While other Islamic regions had to cope with border wars and inner strife, Mamluk Egypt enjoyed prosperity and high culture. In 1384, the Egyptian Sultan, al-Malik udh-Dhahir Barquq, made Khaldun professor of the Qamhiyyah Madrasah and appointed him as the Grand qadi of the Maliki school of fiqh (one of four schools, the Maliki school was widespread primarily in Western Africa). Al-Sakhāwī similarly states that Ibn Khaldūn taught at al-Azhar and was appointed to the Mālikī judgeship in Cairo more than once. His efforts at reform encountered resistance, however, and within a year, he had to resign his judgeship. Also in 1384, a ship carrying Khaldun's wife and children sank off of Alexandria.

After his return from a pilgrimage to Mecca in May 1388, Ibn Khaldūn concentrated on teaching at various Cairo madrasas. At the Mamluk court he fell from favor because during revolts against Barquq, he had, apparently under duress, with other Cairo jurists, issued a fatwa against Barquq. Later relations with Barquq returned to normal, and he was once again named the Maliki qadi. Altogether, he was called six times to that high office, which, for various reasons, he never held long.

In 1401, under Barquq's successor, his son Faraj, Ibn Khaldūn took part in a military campaign against the Mongol conqueror, Timur, who besieged Damascus in 1400. Ibn Khaldūn cast doubt upon the viability of the venture and really wanted to stay in Egypt. His doubts were vindicated, as the young and inexperienced Faraj, concerned about a revolt in Egypt, left his army to its own devices in Syria and hurried home. Ibn Khaldūn remained at the besieged city for seven weeks, being lowered over the city wall by ropes to negotiate with Timur, in a historic series of meetings that he reported extensively in his autobiography. Timur questioned him in detail about conditions in the lands of the Maghreb. At his request, Ibn Khaldūn even wrote a long report about it. As he recognized Timur's intentions, he did not hesitate, on his return to Egypt, to compose an equally-extensive report on the history of the Tatars, together with a character study of Timur, sending them to the Merinid rulers in Fez.

Ibn Khaldūn spent the next five years in Cairo completing his autobiography and his history of the world and acting as teacher and judge. Meanwhile, he was alleged to have joined an underground party, Rijal Hawa Rijal, whose reform-oriented ideals attracted the attention of local political authorities. The elderly Ibn Khaldun was placed under arrest. He died on 17 March 1406, one month after his sixth selection for the office of the Maliki qadi (Judge).

Works

thumb|Handwriting of Ibn Khaldūn certifying a manuscript copy of [[Muqaddima|al-Muqaddima, MS 1936, f. 7a]]

al-Muqaddima and the rest of Kitāb al-ʻIbar

  • Kitāb al-ʻIbar, (full title: Kitāb al-ʻIbar wa-Dīwān al-Mubtadaʼ wa-l-Khabar fī Taʼrīkh al-ʻArab wa-l-Barbar wa-Man ʻĀṣarahum min Dhawī ash-Shaʼn al-Akbār: "Book of Lessons, Record of Beginnings and Events in the History of the Arabs and the Berbers and Their Powerful Contemporaries"); begun as a history of the Berbers and expanded to a universal history in seven books.

:Book 1; Al-Muqaddima ('The Introduction'), a socio-economic-geographical universal history of empires, and the best known of his works.

:Books 2–5; World History up to the author's own time.

:Books 6–7; Historiography of the Berbers and the Maghreb. Khaldun departs from the classical style of Arab historians by synthesising multiple, sometimes contradictory, sources without citations. He reproduces some errors originating probably from his 14th-century Fez source, the work Rawḍ al-Qirṭās by Ibn Abi Zar, yet Al-'Ibar remains an invaluable source of Berber history.

{| class="toccolours" style="float: right; margin-left: 1em; margin-right: 1em; font-size: 85%; background:#c6dbf7; color:black; width:30em; max-width: 40%;" cellspacing="5"

| style="text-align: left;" | Businesses owned by responsible and organized merchants shall eventually surpass those owned by wealthy rulers.

|-

| style="text-align: left;" | Ibn Khaldun on economic growth and the ideals of Platonism

|}

Concerning the discipline of sociology, he described the dichotomy of sedentary life versus nomadic life as well as the inevitable loss of power that occurs when warriors conquer a city. Al-Sakhāwī describes Kitāb al-ʿIbar as Ibn Khaldūn’s major historical work and notes that it was prefaced with a lengthy introduction addressing civilization (ʿumrān), kingship, livelihood, and the sciences. This social cohesion arises spontaneously in tribes and other small kinship groups; it can be intensified and enlarged by a religious ideology. Ibn Khaldun's analysis looks at how this cohesion carries groups to power but contains within itself the seeds – psychological, sociological, economic, political – of the group's downfall, to be replaced by a new group, dynasty or empire bound by a stronger (or at least younger and more vigorous) cohesion. Some of Ibn Khaldun's views, particularly those concerning the Zanj people of sub-Saharan Africa, have been cited as racist. According to the scholar Abdelmajid Hannoum, Ibn Khaldun's description of the distinctions between Berbers and Arabs were misinterpreted by the translator William McGuckin de Slane, who wrongly inserted a "racial ideology that sets Arabs and Berbers apart and in opposition" into his translation of part of`Ibar translated under the title Histoire des Berbères.

Perhaps the most frequently cited observation drawn from Ibn Khaldūn's work is the notion that when a society becomes a great civilization, its high point is followed by a period of decay. This means that the next cohesive group that conquers the diminished civilization is, by comparison, a group of barbarians. Once the barbarians solidify their control over the conquered society, however, they become attracted to its more refined aspects, such as literacy and arts, and either assimilate into or appropriate such cultural practices. Then, eventually, the former barbarians will be conquered by a new set of barbarians, who will repeat the process.

Georgetown University Professor Ibrahim Oweiss, an economist and historian, argues that Ibn Khaldun was a major forerunner of modern economists and, in particular, originated the labor theory of value long before better known proponents such as Adam Smith and David Ricardo, although Khaldun did not refer to it as either a labor theory of value or theory.

Ibn Khaldun also called for the creation of a science to explain society and went on to outline these ideas in his major work, the Muqaddimah, which states that "Civilization and its well-being, as well as business prosperity, depend on productivity and people's efforts in all directions in their own interest and profit".

Ibn Khaldun diverged from norms that Muslim historians followed and rejected their focus on the credibility of the transmitter and focused instead on the validity of the stories and encouraged critical thinking.

Ibn Khaldun also outlines early theories of division of labor, taxes, scarcity, and economic growth.

He argued that poverty was a result of the destruction of morality and human values. He also looked at what factors contribute to wealth, such as consumption, government, and investment. Khaldun also argued that poverty was not necessarily a result of poor financial decision-making but of external consequences and therefore the government should be involved in alleviating poverty. Researchers from Malaysia's Insaniah University College and Indonesia's Tazkia University College of Islamic Economics created a dynamics model based upon Ibn Khaldun's writings to measure poverty in the Muslim nations of South Asia and Southeast Asia.

Ibn Khaldun also believed that the currency of an Islamic monetary system should have intrinsic value and therefore be made of gold and silver (such as the dirham). He emphasized that the weight and purity of these coins should be strictly followed: the weight of one dinar should be one mithqal (the weight of 72 grains of barley, roughly 4.25 grams) and the weight of 7 dinar should be equal to weight of 10 dirhams (7/10 of a mithqal or 2.96 grams).

Ibn Khaldun's writings regarding the division of labor are often compared to Adam Smith's writings on the topic.