The unification of Germany culminated on 18 January 1871, when the Prussian king William I was proclaimed German emperor in the Hall of Mirrors at Versailles and the German nation-state stood complete. After the Holy Roman Empire dissolved in 1806 the German states had remained divided, with Prussia and Austria contending for the leadership. In 1862 the Kingdom of Prussia named Bismarck minister-president, and he drove unity by 'iron and blood': the 1864 war with Denmark alongside Austria won Schleswig-Holstein; the Austro-Prussian War of 1866 beat Austria and shut it out of German affairs, the North German Confederation forming under Prussia; and in the Franco-Prussian War of 1870-1871 the French army was beaten and its emperor captured, whereupon the south German states joined the union. With the January 1871 coronation the German Empire stood — the German states, Austria excepted, unified. Unification raised in the heart of Europe a new power first-rate in population and industry; the balance shifted with it, and the new empire became one of the decisive weights in the international order of the following decades.