In 1803, German Mediatisation profoundly changed the political and administrative map of Germany. Favourable to mid-ranking states and to Prussia, the reorganisation reinforced French influence. In 1805, the Third Coalition formed in the hope of stopping French domination of Europe from advancing further, but the coalition's armies were defeated at Austerlitz in December 1805. Triumphant, Napoleon I continued working towards dismantling the Holy Roman Empire. On 12 July 1806, he detached 16 German states from it to form the Confederation of the Rhine under French influence. On 6 August the same year, Francis I of Austria was forced to renounce his title of emperor, and the Empire had to be dissolved.