German Empire
The high command under Paul von Hindenburg and Erich Ludendorff increasingly controlled the country, but in October after the failed offensive in spring 1918, the German armies were in retreat, allies Austria-Hungary and the Ottoman Empire had collapsed, and Bulgaria had surrendered. The Empire collapsed in the November 1918 Revolution with the abdications of its monarchs. This left a postwar federal republic and a devastated and unsatisfied populace, which later led to the rise of Adolf Hitler and Nazism.
World War I
With the military faltering and with widespread loss of confidence in the Kaiser leading to his abdication and fleeing of the country, Germany moved towards surrender. Prince Maximilian of Baden took charge of a new government on 3 October as Chancellor of Germany to negotiate with the Allies. Negotiations with President Wilson began immediately, in the hope that he would offer better terms than the British and French. Wilson demanded a constitutional monarchy and parliamentary control over the German military. There was no resistance when the Social Democrat Philipp Scheidemann on 9 November declared Germany to be a republic. The Kaiser, kings and other hereditary rulers all were removed from power and Wilhelm fled to exile in the Netherlands. Imperial Germany was dead; a new Germany had been born as the Weimar Republic.