The idea of a social contract between the people and their rulers was explained by John Locke in his book Two Treatises of Civil Government (1690). He argued that the people must freely give, and renew, their consent to be governed. They have a right of rebellion if the government breaks the contract.