The Declaration of Independence

How was Jefferson influenced by the writings of John Locke and Thomas Paine?