The Battle of Marengo was fought on 14 June 1800 between French forces under the First Consul Napoleon Bonaparte and Austrian forces near the city of Alessandria, in Piedmont, Italy. Near the end of the day, the French overcame General Michael von Melas's surprise attack, drove the Austrians out of Italy and consolidated Bonaparte's political position in Paris as First Consul of France in the wake of his coup d'état the previous November.
Surprised by the Austrian advance toward Genoa in mid-April 1800, Bonaparte hastily led his army over the Alps in mid-May and reached Milan on 2 June.