In March 1933, the Reichstag passed the Enabling Act

After that, everything Hitler did was legal