Ibn Khaldun
Later Ibn Khaldun was to establish lasting fame for his great world history, which he started to write around 1372.