Also serving on the French invasion of Egypt, he became aide-de-camp to Napoléon Bonaparte in 1800, général de brigade after the Battle of Marengo, and finally commander of the Légion d'honneur in 1804.