German Empire (1871–1918)

Foundation of modern Germany in Versailles, France, 1871. Bismarck is at the centre in a white uniform.

The state known as Germany was unified as a modern nation-state in 1871, when the German Empire was forged, with the Kingdom of Prussia as its largest constituent. After the French defeat in the Franco-Prussian War, the German Empire was proclaimed in Versailles on 18 January 1871. The Hohenzollern dynasty of Prussia ruled the new empire, whose capital was Berlin. The empire was a unification of all the scattered parts of Germany except Austria (Kleindeutschland, or "Lesser Germany"). Beginning in 1884, Germany began establishing several colonies outside of Europe.

In the Gründerzeit period following the unification of Germany, Emperor William I's foreign policy secured Germany's position as a great nation by forging alliances, isolating France by diplomatic means, and avoiding war. Under William II, however, Germany, like other European powers, took an imperialistic course leading to friction with neighbouring countries. Most alliances in which Germany had been previously involved were not renewed, and new alliances excluded the country. Specifically, France established new relationships by signing the Entente Cordiale with the United Kingdom and securing ties with the Russian Empire. Aside from its contacts with Austria-Hungary, Germany became increasingly isolated.

Imperial Germany (1871–1918), with the dominant Kingdom of Prussia in blue.

Germany's imperialism reached outside of its own country and joined many other powers in Europe in claiming their share of Africa. The Berlin Conference divided Africa between the European powers. Germany owned several pieces of land in Africa including German East Africa, South-West Africa, Togo, and Cameroon. The Scramble for Africa caused tension between the great powers that may have contributed to the conditions that led to World War I.

The assassination of Austria's crown prince on 28 June 1914 triggered World War I. Germany, as part of the unsuccessful Central Powers, suffered defeat against the Allied Powers in one of the bloodiest conflicts of all time. An estimated two million German soldiers died in World War I.[21] The German Revolution broke out in November 1918, and Emperor William II and all German ruling princes abdicated. An armistice putting an end to the war was signed on 11 November and Germany was forced to sign the Treaty of Versailles in June 1919. Its negotiation, contrary to traditional post-war diplomacy, excluded the defeated Central Powers. The treaty was perceived in Germany as a humiliating continuation of the war by other means and its harshness is often cited as having facilitated the later rise of Nazism in the country.