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.
Nazi Germany
During the Battle of Berlin (16 April 1945 – 2 May 1945), Hitler and his staff lived in the underground "Führerbunker" while the Red Army approached. On 30 April, when Soviet troops were within two blocks of the Reich Chancellery, Hitler, along with his girlfriend and by then wife Eva Braun committed suicide. On 2 May, General Helmuth Weidling unconditionally surrendered Berlin to Soviet General Vasily Chuikov. Hitler was succeeded by Grand Admiral Karl Dönitz as Reich President and Goebbels as Reich Chancellor. Goebbels and his wife Magda committed suicide the next day after murdering their six children. Between 4 and 8 May 1945, most of the remaining German armed forces unconditionally surrendered. The German Instrument of Surrender was signed 8 May, marking the end of the Nazi regime and the end of World War II in Europe.