The German Confederation lasted until 1866, when the members fought each other. The winners formed a new North German Confederation. In 1871 after winning the Franco-Prussian War, Otto von Bismarck, chancellor of Prussia, combined all the countries of Germany into the German Empire.