but didn’t he win the popular vote?
He won the popular vote but he didn't win the election, George Bush won the election and Gore tried to steal it by recounting until he got a number he liked at which time the recounts would have stopped. Study the constitution, Electoral college wins the election not popular vote.
However, the Democrats pull so much election fraud every year it is even doubtful they actually won the popular vote except for the dead people and illegal aliens voting.