After the Holy Roman Empire was dissolved in 1806 the German Confederation of thirty-nine statelets came together in 1815 at the Congress of Vienna. This in turn led to the North German Confederation, and then the unification of Germany in 1871 after the Franco-Prussian War in which victorious German troops occupied Paris.