 Complete the following phrase:  The War of the Third Coalition lasted from about 1803 to 1806. Following defeat at the Battle of by the French under Napoleon in December 1805, Holy Roman Emperor Francis II abdicated, and the Empire was dissolved on 6 August 1806. The resulting Treaty of established the Confederation of the Rhine in July 1806, joining together sixteen of Frances allies among the German states including Bavaria and . After the 