The main way in which Castiglione's view of the responsibilities of a ruling class differed from Machiavelli's is that Machiavelli believed that the results of political decisions should take precedent over the morality of such decisions. In short, that the "ends justified the means".