From 1794 to 1796 he was aide-de-camp to General Lefebvre. In 1799 he was promoted to brigadier general, and fought under André Masséna in Switzerland. The same year he distinguished himself at the Second Battle of Zurich.