North German Confederation
After Prussia defeated Austria in 1866, the North German Confederation was founded by Prussia in order to replace the former German Confederation in which Austria had been the dominant power. The new Confederation eventually became the German Empire after the Franco-Prussian War, hence the Imperial German flags date back to the North German Confederation.