"Two Treatises on Government" was published anonymously in 1689 shortly after the Glorious Revolution which disposed King James II. The book served two purposes. It was designed not only to challenge common notions, but to introduce people to a broader thinking on governmental rule.
Hope this helps!!!