on the return of the medici, machiavelli, who for a few weeks had vainly hoped to retain his office under the new masters of florence, was dismissed by decree dated 7th november 1512. shortly after this he was accused of complicity in an abortive conspiracy against the medici, imprisoned, and put to the question by torture. the new medicean pope, leo x, procured his release, and he retired to his small property at san casciano, near florence, where he devoted himself to literature. in a letter to francesco vettori, dated 13th december 1513, he has left a very interesting description of his life at this period, which elucidates his methods and his motives in writing "the prince." after describing his daily occupations with his family and neighbours, he writes: "the evening being come, i return home and go to my study; at the entrance i pull off my peasant-clothes, covered with dust and dirt, and put on my noble court dress, and thus becomingly re-clothed i pass into the ancient courts of the men of old, where, being lovingly received by them, i am fed with that food which is mine alone; where i do not hesitate to speak with them, and to ask for the reason of their actions, and they in their benignity answer me; and for four hours i feel no weariness, i forget every trouble, poverty does not dismay, death does not terrify me; i am possessed entirely by those great men. and because dante says:
knowledge doth come of learning well retained,
unfruitful else,
i have noted down what i have gained from their conversation, and have composed a small work on 'principalities,' where i pour myself out as fully as i can in meditation on the subject, discussing what a principality is, what kinds there are, how they can be acquired, how they can be kept, why they are lost: and if any of my fancies ever pleased you, this ought not to displease you: and to a prince, especially to a new one, it should be welcome: therefore i dedicate it to his magnificence giuliano. filippo casavecchio has seen it; he will be able to tell you what is in it, and of the discourses i have had with him; nevertheless, i am still enriching and polishing it."
the "little book" suffered many vicissitudes before attaining the form in which it has reached us. various mental influences were at work during its composition; its title and patron were changed; and for some unknown reason it was finally dedicated to lorenzo de' medici. although machiavelli discussed with casavecchio whether it should be sent or presented in person to the patron, there is no evidence that lorenzo ever received or even read it: he certainly never gave machiavelli any employment. although it was plagiarized during machiavelli's lifetime, "the prince" was never published by him, and its text is still disputable.
machiavelli concludes his letter to vettori thus: "and as to this little thing [his book], when it has been read it will be seen that during the fifteen years i have given to the study of statecraft i have neither slept nor idled; and men ought ever to desire to be served by one who has reaped experience at the expense of others. and of my loyalty none could doubt, because having always kept faith i could not now learn how to break it; for he who has been faithful and honest, as i have, cannot change his nature; and my poverty is a witness to my honesty."
before machiavelli had got "the prince" off his hands he commenced his "discourse on the first decade of titus livius," which should be read concurrently with "the prince." these and several minor works occupied him until the year 1518, when he accepted a small commission to look after the affairs of some florentine merchants at genoa. in 1519 the medicean rulers of florence granted a few political concessions to her citizens, and machiavelli with others was consulted upon a new constitution under which the great council was to be restored; but on one pretext or another it was not promulgated.
in 1520 the florentine merchants again had recourse to machiavelli to settle their difficulties with lucca, but this year was chiefly remarkable for his re-entry into florentine literary society, where he was much sought after, and also for the production of his "art of war." it was in the same year that he received a commission at the instance of cardinal de' medici to write the "history of florence," a task which occupied him until 1525. his return to popular favour may have determined the medici to give him this employment, for an old writer observes that "an able statesman out of work, like a huge whale, will endeavour to overturn the ship unless he has an empty cask to play with."
when the "history of florence" was finished, machiavelli took it to rome for presentation to his patron, giuliano de' medici, who had in the meanwhile become pope under the title of clement vii. it is somewhat remarkable that, as, in 1513, machiavelli had written "the prince" for the instruction of the medici after they had just regained power in florence, so, in 1525, he dedicated the "history of florence" to the head of the family when its ruin was now at hand. in that year the battle of pavia destroyed the french rule in italy, and left francis i a prisoner in the hands of his great rival, charles v. this was followed by the sack of rome, upon the news of which the popular party at florence threw off the yoke of the medici, who were once more banished.
machiavelli was absent from florence at this time, but hastened his return, hoping to secure his former office of secretary to the "ten of liberty and peace." unhappily he was taken ill soon after he reached florence, where he died on 22nd june 1527.