Up to election night last November, there was no way Donald Trump was going to win the election to become the President of the United States. The polls were not in his favor until the very end of the night, which left many people asking how this happened.

Donald Trump was a very unlikely Presidential candidate. He never served in the military or in a government office. He has been divorced more than all other Presidents in history combined. On paper, he is not likely to be someone who should have won, especially among a conservative base.

But it turns out there were enough people who voted for him to win the electoral college, which was a huge shocker to many pundits. There may have been some very complicated psychology behind why people cast their ballots the way they did, and cognitive bias is at the forefront of that conversation now. Learn more about cognitive bias from this infographic.