The German Empire (German: Deutsches Kaiserreich) was the German nation state that was created through the Unification of Germany in 1871 and lasted until the abdication of Kaiser Wilhelm II in 1918.