Mezzofanti (and Tambroni) later lost the university position for refusing to take the oath of allegiance required by the Cisalpine Republic, which governed Bologna at the time. Between 1799 and 1800 he visited many foreign people who had been wounded during the Napoleonic wars to attend to their cures and he started to learn other European languages.