Hitler was never elected by a majority. The 1933 election came after the appointment of Hitler to the position of Chancellor, and the burning of the Reichstag (building). Even with no real political opponents, and with the full backing of all of the state's media and propaganda, the Nazi party achieved 43.9% of the vote. It was their best ever political showing... but infuriated Hitler because he did not get the majority necessary to dominate the Reichstag. It was the last contested election in pre-war Germany. Within two weeks Hitler declared emergency powers, dissolved the Reichstag, and became a dictator.
I mention this because I think some people have the misconception that the vast majority of Germans embraced Hitler. Most did not.