In 1810 the Tyrolean fighter Andreas Hofer was imprisoned in the castle before his execution by the Kingdom of Italy. Mantua became part of the Austrian Empire in 1814 and from 1815 it was a maximum security prison for the Empire's political opponents, such as the Belfiore martyrs from 1852 onwards. Others pro-Risorgimento figures imprisoned there included Ciro Menotti and Teresa Arrivabene. The building's structure was damaged by the 2012 Emilia earthquake.