The works of Niccolò Machiavelli, such as "The Prince", were considered a guideline for the behaviour of a king in Frederick's age. In 1739, Frederick finished his "Anti-Machiavel", which put another point of view. It was published anonymously in 1740, but Voltaire distributed it in Amsterdam.