On 18 May 1804, Napoleon was granted the title Emperor of the French (L'Empereur des Français,pronounced: [lɑ̃.pʁœʁ dɛ fʁɑ̃.sɛ]) by the French Sénat and was crowned on 2 December 1804, ending the period of the French Consulate and of the French Republic. The French Empire won early military victories in the War of the Third Coalition against Austria, Prussia, Russia, Portugal, and allied nations, notably at the Battle of Austerlitz in 1805 and, during the War of the Fourth Coalition, at the Battle of Friedland in 1807.
A series of wars, known collectively as the Napoleonic Wars, extended French influence over much of Western Europe and into Poland. At its height in 1812, the French Empire had 130 departments, ruled over 70 million subjects, maintained an extensive military presence in Germany, Italy, Spain, and the Duchy of Warsaw, and could count Prussia and Austria as nominal allies. Early French victories exported many ideological features of the French Revolution throughout Europe: the introduction of the Napoleonic Code throughout the continent increased legal equality, established jury systems and legalised divorce, and seigneurial dues and seigneurial justice were abolished, as were aristocratic privileges in all places with the exception of Poland.