For his activities in the Nazi Party, which was banned in Austria, Hofer was arrested in June 1933 and sentenced by a Tyrolean court to two years in prison. On 30 August 1933, 4 armed SA men broke into Hofer's prison cell by force and freed him. He fled the prison amid gunfire, which wounded him.