In 1923, the Nazi's were basically a terrorist group who tried to take power from the government through force. Hitler had brought together a large group of unemployed men to help him, they were known as the Stormtroopers, to the SA. During the depression of 1923, Hitler plotted with two politicians: Kahr and Lossow, to try and take over Munich in a revolution.
However, on 4 October 1923, Kahr and Lossow had doubts and called off the rebellion, leaving Hitler in a bad position, with 3000 troops ready to fight
On the 8th of November, Hitler took 600 Stormtroopers to a meeting that Kahr and Lossow were holding at the local Beer \Hall. Hitler waved gun at them and forced them to agree to the rebellion. The SA took over the army headquarters and the local newspaper offices.
On 9 November 1923, Hitler and the Nazis marched into Munich confident of victory.
However Kahr had already called in police and army reinforcements. There was a short fight in which 16 Nazis were killed. Hitler ran away but was later arrested
Hitler spent just 9 months in prison, and whilst there he wrote "Mein Kampf" (My Struggle), which made Hitler's ideas well known. this failure also showed Hitler that he had to gain power legitimately, and this is how he eventually came to power.