Napoleon Bonaparte's army defeated the Austrians at Marengo in a battle that nearly ended in French disaster before a last-minute cavalry charge reversed the outcome. The victory re-established French control over northern Italy and cemented Napoleon's political authority as First Consul, removing the last serious domestic threat to his consolidation of power.