Napoleon became Emperor of the French (L'Empereur des Français) on 18 May 1804 and crowned Emperor 2 December 1804, ending the period of the French Consulate, and 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 (1805) and the Battle of Friedland (1807). The Treaty of Tilsit in July 1807 ended two years of bloodshed on the European continent. Subsequent years of military victories known collectively as the Napoleonic Wars extended French influence over much of Western Europe and into Poland.