Niccolò Machiavelli wrote The Prince as a guide for the rulers of his time. In it, he justifies the use of violence when done on behalf of society as a whole and as a one-time event. Today, The Prince is recognized as a political essay that supports the view that the ends justify the means.