Frederick had, of course, read Machiavelli long before; it is not exactly clear what drew his attention to this subject in the late 1730s, although his affiliation with Voltaire and his impending change in rank most certainly contributed to the project.