Shaftesbury, as a member of the Whig movement, was a big influence on Locke's political ideas. However, after Shaftesbury began to fall from favor in 1675, Locke decided to travel across France. He came back to England in 1679. At this time, due to Shaftesbury's insists, Locke wrote the "Two Treatises of Government". While it was once thought that Locke wrote the Treatises to defend the Glorious Revolution of 1688, recent scholarship has shown that the work was composed before this even started.