Bavaria, Baden, and Württemberg were incorporated into the North German Confederation in the Treaty of Frankfurt (1871). Bismarck then proclaimed King Wilhelm I, now Kaiser Wilhelm I, as leader of the new, united Germany (German Reich), excluding Austria. With the German troops remaining in Paris, Napoleon III dissolved the French Empire and a new republic, the Third French Republic, was created under Adolphe Thiers.