John Locke was an influential 17th century English philosopher known for his works on epistemology and political philosophy. His most influential political work was Two Treatises of Government, in which he rejects the idea of a king's divine right to rule and argues that civil government is based on the natural rights of the people. Locke believed people are naturally free and equal in a state of nature prior to government, and that government should protect people's property rights and be formed by consent of the governed. He also wrote An Essay Concerning Human Understanding, where he explored the distinction between primary and secondary qualities and the role of experience and language in human understanding.