John Locke's theories on natural rights and the social contract laid the foundation for modern democracy and liberal thought.