Answer :
Otto Von Bismarck was able to unite the northern German confederation with the south by going to war with France. The smaller German nations who would’ve lost against France flocked to join the North, and when the Germans won the war, they declared the creation of the German empire at the palace of Versailles. (Franco-Prussian war, 1870-1871)