Written by the Arab historian Ibn Khaldun in 1377 which records an early view of universal history. Some modern thinkers view it as the first work dealing with the social sciences of sociology, demography, and cultural history. The Muqaddimah also deals with Islamic theology, historiography, the philosophy of history, economics, political theory, and ecology. It has also been described as an early representative of social Darwinism.