He was voted in legally from the Reistage. (German govt.) Then he kept himself as Chancellor through a loop hole.
The Brown shirts were his gang, they did his dirty work. Night of the Broken Glass.
The army backed him after the Night of the Long Knives.