 After the fall of the Republic he found shelter in the United States and afterwards in London, United Kingdom.Even after the formation of the Kingdom of Italy and his return to Italy, he had to leave his appointment as teacher of mechanics at the University of Bologna since he repeatedly refused to take his oath of allegiance to the monarchy.In 1876 he was elected as a member of the Parliament for the Republican Party.