The German Confederation was an association of 39 predominantly German-speaking sovereign states in Central Europe from 1815 to 1866. It was created by the Congress of Vienna to replace the Holy Roman Empire, which dissolved in 1806 as a result of the Napoleonic Wars.