Born at Parma, in 1824 he was appointed professor at the local University but was compelled to escape to France after taking part in the revolution of 1831.