The Weimar Republic was established in Germany after World War 1. It faced significant challenges, including threats from communist and nationalist groups, resentment over the Treaty of Versailles, and severe economic problems. In the early 1920s, the Freikorps helped crush communist uprisings while nationalist groups like the Kapp Putsch and Hitler's Beer Hall Putsch threatened the government. Hyperinflation crippled the economy until Stresemann stabilized the currency. Stresemann improved diplomatic relations, signing the Locarno Treaty, but the Great Depression eroded faith in the Republic in the early 1930s.