The Nazi Party emerged from the German nationalist, racist and populist Freikorps paramilitary culture, which fought against the communist uprisings in post-World War I Germany. The party was created to draw workers away from communism and into volkisch nationalism. Initially, Nazi political strategy focused on anti-big business, anti-bourgeois, and anti-capitalist rhetoric, although this was later downplayed to gain the support of business leaders, and in the 1930s the party's main focus shifted to anti-Semitic and anti-Marxist themes.
Pseudo-scientific racist theories were central to Nazism, expressed in the idea of a "people's community" (Volksgemeinschaft). The party aimed to unite "racially desirable" Germans as national comrades, while excluding those deemed either to be political dissidents, physically or intellectually inferior, or of a foreign race (Fremdvolkische). The Nazis sought to strengthen the Germanic people, the "Aryan master race", through racial purity and eugenics, broad social welfare programs, and a collective subordination of individual rights, which could be sacrificed for the good of the state on behalf of the people.
Germany became a de facto republic on 9 November 1918 when Kaiser Wilhelm II abdicated the German and Prussian thrones with no agreement made on a succession by his son Crown Prince Wilhelm, and became a de jure republic in February 1919 when the position of President of Germany was created. A national assembly was convened in Weimar, where a new constitution for Germany was written and adopted on 11 August 1919. In its fourteen years, the Weimar Republic faced numerous problems, including hyperinflation, political extremism (with paramilitaries—both left- and right-wing) as well as contentious relationships with the victors of the First World War. Resentment in Germany towards the Treaty of Versailles was strong especially on the political right where there was great anger towards those who had signed the Treaty and submitted to fulfill the terms of it. The Weimar Republic fulfilled most of the requirements of the Treaty of Versailles although it never completely met its disarmament requirements and eventually paid only a small portion of the war reparations (by twice restructuring its debt through the Dawes Plan and the Young Plan). Under the Locarno Treaties, Germany accepted the western borders of the country by abandoning irredentist claims on France and Belgium, but continued to dispute the eastern borders and sought to persuade German-speaking Austria to join Germany as one of Germany's states.