Niccolò di Bernardo dei Machiavelli (/ˌmækiəˈvɛli/, also US: /ˌmɑːk-/; Italian: [nikkoˈlɔ mmakjaˈvɛlli]; 3 May 1469 – 21 June 1527) was an Italian diplomat, politician, historian, philosopher, writer, playwright and poet of the Renaissance period. He has often been called the father of modern political philosophy and political science. For many years he served as a senior official in the Florentine Republic with responsibilities in diplomatic and military affairs. He wrote comedies, carnival songs, and poetry. His personal correspondence is of high importance to historians and scholars. He worked as secretary to the Second Chancery of the Republic of Florence from 1498 to 1512, when the Medici were out of power. He wrote his best-known work The Prince (Il Principe) in 1513, having been exiled from city affairs.