I don't believe Hitler was actually "elected". His party got a lot of seats, and then he cut a deal with several of the older politicians (who thought they could influence/control him) to become Chancellor.
But technically, he was not "voted" into his office.