When Prussia beat France in the Franco-Prussian War of 1871 , the Confederation was turned into the German Empire by Otto von Bismarck , with Wilhelm I as its Emperor . With Prussia 's victory over France in the Franco-Prussian War of 1871 , the members of the Confederation were organised by Otto von Bismarck into the German Empire , with Wilhelm I as its Emperor .