in Germany at Hohenlinden. These defeats forced Thugut's resignation, and Austria, now led by Ludwig Cobenzl, to make peace at Lunéville in early 1801. The terms were mild—the terms of Campo Formio were largely reinstated, but now the way was clear for a reorganization of the Empire on French lines. By the Imperial Deputation Report of 1803, the Holy Roman Empire was entirely reorganized, with nearly all of the ecclesiastical territories and free cities, traditionally the parts of the Empire most friendly to the House of Austria, eliminated. Napoleonic wars and end of Empire (1803–1815) With Bonaparte's assumption of the title of Emperor of the First French Empire on 18 May 1804, Francis II, seeing the writing on the wall for the old Empire, and arbitrarily took the new title of "Emperor of Austria" as Francis I, in addition to his title of Holy Roman Emperor. This earned him the title of Double Emperor (Doppelkaiser) (Francis II of the Holy Roman Empire, Francis I of Austria). The arrival of a new, French, emperor on the scene and the restructuring of the old presented a larger threat to the Habsburgs than their territorial losses to date, for there was no longer any certainty that they would continue to be elected. Francis had himself made emperor of the new Austrian Empire on 11 August not long after Napoleon. The new empire referred to not a new state but to the lands ruled by Austria, that is the Habsburgs, which was effectively many states. War of the Third Coalition (1805) Soon, Napoleon's continuing machinations in Italy, including the annexation of Genoa and Parma, led once again to war in 1805—the War of the Third Coalition, in which Austria, Britain, Russia, and Sweden took on Napoleon. The Austrian forces began the war by invading Bavaria, a key French ally in Germany, but were soon outmaneuvered and forced to surrender by Napoleon at Ulm, before the main Austro-Russian force was defeated at Austerlitz on 2 December. Napoleon entered Vienna itself, as much a celebrity as conqueror. By the Treaty of Pressburg, Austria was forced to give up large amounts of territory—Dalmatia to France, Venetia to Napoleon's Kingdom of Italy, the Tyrol to Bavaria, and Austria's various Swabian territories to Baden and Württemberg, although Salzburg, formerly held by Francis's younger brother, the previous Grand Duke of Tuscany, was annexed by Austria as compensation. The defeat meant