The republic was born in defeat. In November 1918, with the army beaten and sailors and workers in revolt, Kaiser Wilhelm II abdicated and socialist politicians proclaimed a republic in Berlin. A national assembly met in the quiet town of Weimar in 1919 and wrote one of the most democratic constitutions of its day. Women and men over twenty could vote, basic rights were guaranteed, and seats were allotted by proportional representation. Two features later proved dangerous: proportional voting produced many parties and unstable coalitions, and Article 48 allowed the president to rule by emergency decree.
From the start the republic was attacked from both sides. Communists inspired by the Russian Revolution (1917) attempted uprisings in 1919; right-wing nationalists and army officers, who blamed the republic's founders for the armistice and the Treaty of Versailles, attempted coups in 1920 and 1923. The old imperial elites in the army, courts and civil service served the new state without loyalty to it.
The economic crisis came in 1923. When Germany fell behind on reparations, France and Belgium occupied the industrial Ruhr; the government paid striking workers by printing money, and the mark collapsed. At the peak a single U.S. dollar was worth trillions of marks, and the savings of the Middle Class (Bourgeoisie) were destroyed. A new currency and the American-sponsored Dawes Plan of 1924, which rescheduled reparations and brought in U.S. loans, ended the emergency.
The years 1924–1929 were the republic's best. Under the foreign minister Gustav Stresemann, Germany accepted its western borders at Locarno and joined the League of Nations in 1926. Industry recovered, and Berlin became a center of modern art, architecture, cinema and science.
This prosperity rested on short-term American credit. After the Wall Street crash of 1929 the loans were recalled, and the Great Depression hit Germany harder than any other European country: by 1932 about six million people, nearly a third of the workforce, were unemployed. The government answered with spending cuts, parliament deadlocked, and from 1930 chancellors governed by presidential decree. Voters deserted the moderate parties for the communists and, in far greater numbers, for the Nazi Party. In January 1933 President Hindenburg appointed Adolf Hitler chancellor, and within months the republic had been replaced by Nazi Germany.