History of Germany during World War I
In November 1918, with internal revolution, a stalemated war, Bulgaria and the Ottoman Empire suing for peace, Austria-Hungary falling apart from multiple ethnic tensions, and pressure from the German high command, the Kaiser and all German ruling princes abdicated. On 9 November 1918, the Social Democrat Philipp Scheidemann proclaimed a Republic, in cooperation with the business and middle classes, not the revolting workers. The new government led by the German Social Democrats called for and received an armistice on 11 November 1918; in practice it was a surrender, and the Allies kept up the food blockade to guarantee an upper hand. The war was over; the history books closed on the German Empire. It was succeeded by the democratic, yet flawed, Weimar Republic.
Germany in the early modern period
The Empire was formally dissolved on 6 August 1806 when the last Holy Roman Emperor Francis II (from 1804, Emperor Francis I of Austria) abdicated, following a military defeat by the French under Napoleon (see Treaty of Pressburg). Napoleon reorganized much of the Empire into the Confederation of the Rhine, a French satellite. Francis' House of Habsburg-Lorraine survived the demise of the Empire, continuing to reign as Emperors of Austria and Kings of Hungary until the Habsburg empire's final dissolution in 1918 in the aftermath of World War I.