 In 1807 he was named as an advisor to Francis IV, Duke of Modena.Three years later, he became ministry of state economics and education, with particular responsibility for waterworks and streets.In 1824 he published "On a problem of Daniel Bernoulli and Lagrange".