Abd al-Rahman ibn Muhammad ibn Khaldun (1332-1406) was an Arab historian, philosopher, and statesman whose treatise, the Muqaddima, in which he pioneered a general sociological theory of history, shows him as one of the most original thinkers of the Middle Ages.
Ibn Khaldun was born on May 27, 1332, in Tunis. His family, of southern Arabian origin, settled in Seville after the Moslem conquest of Spain and distinguished themselves in the political and intellectual life of the city. Shortly before the Christian reconquest they left and eventually settled in Tunis. Ibn Khaldun always felt attached to the cultural tradition of Moslem Spain.
Growing up in Tunis, Ibn Khaldun studied the traditional religious sciences including law according to the Maliki school as well as the rational sciences. He also was trained in the arts necessary for a career in government. Among his teachers, he was most impressed by al-Abili, who came to Tunis in 1347 and introduced him to philosophy.