section_path: Education
section_name: Education
paragraph_text: 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. The mathematician and philosopher Al-Abili of Tlemcen introduced him to mathematics, logic and philosophy, and he studied especially 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.
  
  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.