Machiavelli desperately wanted to return to politics. One of his goals in writing The Prince was to win the favor of Lorenzo de' Medici, then-governor of Florence and the person to whom the book is dedicated; Machiavelli hoped to land an advisory position within the Florentine government.