at full value. The national government owed $40 million and state governments owed $25 million to Americans who had sold food, horses, and supplies to the Patriot forces. There were also other debts which consisted of promissory notes issued during the war to soldiers, merchants, and farmers who accepted these payments on the premise that the new Constitution would create a government that would pay these debts eventually. The war expenses of the individual states added up to $114 million, compared to $37 million by the central government. In 1790, Congress combined the remaining state debts with the foreign and domestic debts into one national debt totaling $80 million at the recommendation of first Secretary of the Treasury Alexander Hamilton. Everyone received face value for wartime certificates, so that the national honor would be sustained and the national credit established. Ideology and factions The population of the Thirteen States was not homogeneous in political views and attitudes. Loyalties and allegiances varied widely within regions and communities and even within families, and sometimes shifted during the Revolution. Ideology behind the Revolution The American Enlightenment was a critical precursor of the American Revolution. Chief among the ideas of the American Enlightenment were the concepts of natural law, natural rights, consent of the governed, individualism, property rights, self-ownership, self-determination, liberalism, republicanism, and defense against corruption. A growing number of American colonists embraced these views and fostered an intellectual environment which led to a new sense of political and social identity. Liberalism John Locke (1632–1704) is often referred to as "the philosopher of the American Revolution" due to his work in the Social Contract and Natural Rights theories that underpinned the Revolution's political ideology. Locke's Two Treatises of Government published in 1689 was especially influential. He argued that all humans were created equally free, and governments therefore needed the "consent of the governed". In late eighteenth-century America, belief was still widespread in "equality by creation" and "rights by creation". Locke's ideas on liberty influenced the political thinking of English writers such as John Trenchard, Thomas Gordon, and Benjamin Hoadly, whose political ideas in turn also had a strong influence on the American Patriots. The theory of the social contract influenced the belief among many of the Founders that the right of the people to overthrow their leaders, should those leaders betray the historic rights of Englishmen, was one of the "natural rights" of man.