General, Erster Konsul und ab 1804 Kaiser der Franzosen