In 1815 over 40 states in the area of modern day Germany formed a confederation called the German Alliance. Although this alliance was dissolved in 1866, it led to the forming of the German Empire in 1871 and later Germany as a federal Republic. Therefore we could speak of a German nationalty as from 1815.