The biography of the scholar Ibn Khaldun highlights the most important stages of his life and the most important stations affecting it, through his assumption of the position of guardian of writing and mediation between the kings in the countries of Morocco and Andalusia.