After the coup d’etat and the resignation of the Directory, one of the first things Napoleon did was to

declare himself Emperor of France.
form a military dictatorship.
execute many of the Royalists.
present France with a constitution.