Ibn Khaldun
Ibn Khaldun was a sociologist, philosopher, and historian widely acknowledged to be one of the greatest social scientists of the Middle Ages, and considered by many to be the father of historiography, sociology, economics, and demography studies.