The acquaintance ripened into intimacy; Marmont became General Bonaparte's aide-de-camp, remained with him during his disgrace and accompanied him to Italy and Egypt, winning distinction and promotion to general of brigade.
In 1805 he received the command of a corps, with which he did good service at Ulm.