In the Age of Enlightenment, philosophers Thomas Hobbes, John Locke and Jean-Jacques Rousseau wrote books about social contracts. They saw good government as coming from social contracts. Rousseau wrote a book called "The Social Contract". Both the United States Declaration of Independence and United States Constitution use the theory of social contracts.