Germany was unified in 1871 after the Franco-Prussian War. In 1806, Napoleon created a French puppet state called the Confederation of the Rhine after defeating Austria at Austerlitz. The Franco-Prussian War from 1870 to 1871 led to the unification of Germany, creating a new German nation state.