Cisalpine Republic
In 1798 he became general inspector of the ministry of police of the Cisalpine Republic, but later on he was arrested for causing political conflicts.