Ibn Khaldun
When Abu Faris captured Tlemcen he took the diplomat Ibn Khaldun (1332–1406) prisoner, and enlisted him in his own service.