After the war Hitler was stationed in Munich, the capital of Bavaria. While Hitler was in Munich, the capital of Bavaria, Kurt Eisner, leader of the Independent Socialist Party, declared Bavaria a Socialist Republic. Hitler was appalled by the revolution. As a German Nationalist he disagreed with the socialist belief in equality.
Hitler saw socialism as part of a Jewish conspiracy. Many of the socialist leaders in Germany, including Kurt Eisner, Rosa Luxemburg, Ernst Toller and Eugen Levine were Jews. So also were many of the leaders of the October Revolution in Russia. This included Leon Trotsky, Gregory Zinoviev, Lev Kamenev, Dimitri Bogrov, Karl Radek, Yakov Sverdlov, Maxim Litvinov, Adolf Joffe, and Moisei Uritsky. It had not escaped Hitler's notice that Karl Marx, the prophet of socialism, had also been a Jew.
It was no coincidence that Jews had joined socialist and communist parties in Europe. Jews had been persecuted for centuries and therefore were attracted to a movement that proclaimed that all men and women deserved to be treated as equals. This message was reinforced when on 10th July, 1918, the Bolshevik government in Russia passed a law that abolished all discrimination between Jews and non-Jews.
It was not until May, 1919 that the German Army entered Munich and overthrew the Bavarian Socialist Republic. Hitler was arrested with other soldiers in Munich and was accused of being a socialist. Hundreds of socialists were executed without trial but Hitler was able to convince them that he had been an opponent of the regime. To prove this he volunteered to help to identify soldiers who had supported the Socialist Republic. The authorities agreed to this proposal and Hitler was transferred to the commission investigating the revolution.