He went to stay with the Haushofers and then fled to Austria, but they convinced him to return. He was arrested and sentenced to 18 months in prison for his role in the attempted coup, which later became known as the Beer Hall Putsch. Hitler was sentenced to five years imprisonment, and the NSDAP and SA were both outlawed.[31][32]