in 1923, the nazi party tried to start a coup d'état in munich to take over germany, but failed. this battle was called the beer hall putsch. hitler was sentenced to five years in prison for treason. however, he was let out of prison after nine months. other people who participated in the beer hall putsch were given the death penalty or 5-6 years imprisoned. the government also made the nsdap illegal in germany.