Nicolo Machiavelli (Italian: 3 May 1469 - 21 June 1527) was an Italian historian, politician, diplomat, philosopher, humanist, and writer based in Florence during the Renaissance. Heralded as one of the founders of modern political science, and more specifically political ethics, he was for many years an official in the Florentine Republic, with responsibilities in diplomatic and military affairs, He also wrote comedies, carnival songs, and poetry. His personal correspondence is renowned in the Italian language. He was secretary to the Second Chancery of the Republic of Florence from 1498 to 1512, when the Medici were out of power. He wrote his masterpiece The Prince (Il Principe) in 1513 after the Medici had recovered power and he no longer held a position of responsibility in Florence. His views on the importance of a strong ruler who was not afraid to be harsh with his subjects and enemies were most likely influenced by the Italian city-states, which due to a lack of unification were very vulnerable to other unified nation-states such as France.