The Napoleonic Wars continued the conflicts that had begun in 1792 between revolutionary France and the monarchies of Europe. After a brief peace, war with Great Britain resumed in 1803, and for twelve years Napoleon Bonaparte fought a succession of coalitions financed largely by British money.
On land France was at first unbeatable. The revolution had created mass conscript armies motivated by patriotism and officered by talent, and Napoleon handled them with speed and daring. He crushed Austria and Russia at Austerlitz in 1805 and Prussia at Jena in 1806, dissolved the Holy Roman Empire, and by 1810 controlled Europe from Spain to Poland through annexations, satellite kingdoms and forced alliances that together made up the Napoleonic France (First French Empire) and its dependencies. At sea the outcome was the reverse. Admiral Nelson destroyed the French and Spanish fleets at Trafalgar in 1805, ending any prospect of invading Britain.
Unable to reach his chief enemy, Napoleon tried to ruin it by closing the continent to British trade. Enforcing this blockade drew him into his two fatal ventures. In 1808 he occupied Spain and gave its throne to his brother, provoking a popular guerrilla war (the origin of the word) that tied down hundreds of thousands of troops. In 1812 he invaded Russia, which had resumed trading with Britain. He reached Moscow, found it abandoned and burning, and lost most of his army in the retreat. The other powers then united. Napoleon was beaten at Leipzig in 1813, forced to abdicate in 1814, and finally defeated at Waterloo in 1815.
The wars killed an estimated 3.5 to 6 million or more soldiers and civilians, and they reshaped more than the map. French rule carried the Napoleonic Code, the end of serfdom and efficient administration into Germany, Italy and Poland. It also provoked resistance in the name of the nation: Spanish, German and Russian patriotism was forged against the French, so that the wars spread Nationalism both by example and by reaction. Prussia reformed its army and state in response to defeat, laying foundations for German Unification.
Overseas, the capture of the Spanish king set off the Latin American Wars of Independence, and the flight of the Portuguese court led to Brazilian Independence. France's failure in Saint-Domingue completed the Haitian Revolution and led to the sale of Louisiana. Britain seized the Cape Colony and other strategic bases and emerged with unchallenged naval and commercial supremacy, the basis of the nineteenth-century British Empire. The victors drew up the peace at the Congress of Vienna.