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.
Seven million soldiers and sailors were quickly demobilized, and they became a conservative voice that drowned out the radical left in cities such as Kiel and Berlin. The radicals formed the Spartakusbund and later the Communist Party of Germany.
Germany lost the war because it was decisively defeated by a stronger military power; it was out of soldiers and ideas, and was losing ground every day by October 1918. Nevertheless, it was still in France when the war ended on Nov. 11 giving die-hard nationalists the chance to blame the civilians back home for betraying the army and surrendering. This was the false "Stab-in-the-back legend" that soured German politics in the 1920s and caused a distrust of democracy and the Weimar government