Thomas Hobbes was the one who introduced the idea to the masses, but it was thoroughly descibed and explained by John Locke and Jean-Jacques Rousseau later. These theories were very useful in establishing republicanism and democratic values in numerous countries, most noticeably the US and France.