After the Revolution, the United States the leaders of the states created a constitution in 1787 and a Bill of Rights in 1791. These were based on the idea of social contracts. George Washington became its first president.