Early in 1759, Voltaire completed and published "Candide, ou l'Optimisme" ("Candide, or Optimism"). This satire on Leibniz's philosophy of optimistic determinism remains Voltaire's best known-work. He would stay in Ferney for most of the remaining 20 years of his life, frequently entertaining distinguished guests, such as James Boswell, Adam Smith, Giacomo Casanova, and Edward Gibbon. In 1764, he published one of his best-known philosophical works, the "Dictionnaire philosophique", a series of articles mainly on Christian history and dogmas, a few of which were originally written in Berlin.