The Two Treatises of Government is a work of political philosophy written by John Locke in 1689 that outlines the principles of natural rights and government legitimacy based on the consent of the governed. This text was pivotal in shaping Enlightenment thought, providing a counterpoint to absolute monarchy and laying the groundwork for modern democracy.