In 1866 Prussia won the war against Austria and their allies. During this time Prussia founded the North German Confederation. The treaty of unification of Germany was made in Versailles after Germany won the Franco-Prussian War in 1871. This began the Second Reich. The biggest state in the new German Empire was Prussia. The rulers were called Kaisers or "German Emperors", but they did not call themselves "Emperors "of" Germany". There were many smaller states in the Empire, but not Austria.