In the meanwhile Villari had left Pisa and was transferred to the chair of philosophy of history at the Institute of Studii Superiori in Florence, and he was also appointed a member of the council of education (1862).
He served as a juror at the international exhibition of that year in London, and contributed an important monograph on education in England and Scotland.
[1] In 1869 he was appointed under-secretary of state for education, and shortly afterwards was elected member of parliament, a position which he held for several years.
[2] In 1893-1894 he collected a number of essays on Florentine history, originally published in the Nuova Antologia, under the title of I primi due secoli della storia di Firenze, and in 1901 he produced Le Invasioni Barbariche in Italia, a popular account in one volume of the events following the dissolution of the Roman Empire.
The Lettere Meridionali (originally published in the newspaper L'Opinione in 1875) produced a deep impression, as they were the first exposure of the real conditions of southern Italy.