We actually didn't. He lost the popular vote by 5 million. He had a lot of help from the Russians via troll farms and who knows how else.
Pres Camacho (pictured) is from the movie Idiocracy. It might answer some more of your questions about all this. :-)