Niccolo Machiavelli was a diplomat and a political official in the Republic of Florence. He held various government positions, including as Chancellor and Secretary to the Second Chancery of the Republic of Florence. His social position was that of a civil servant in the government of Florence.