Donald Trump may have re-written the electoral map, unexpectedly flipping Wisconsin, Pennsylvania, and Michigan, among other states that went for Barack Obama in 2012. But despite assertions from Trump Tower that it was a “landslide victory” for the billionaire, Hillary Clinton beat Trump by nearly 2.9 million votes—a fact that has seemed to weigh heavily on the president-elect. In the weeks since the election, Trump has repeatedly taken to Twitter to downplay and defend his loss of the popular vote, arguing that “millions voted illegally” (they didn’t) and that he would have campaigned differently if the Electoral College didn’t exist.

Trump is exceptional in one way, of course. Once he takes office, he will join a select group of just three other U.S. presidents—George W. Bush, Rutherford B. Hayes and Benjamin Harrison—who have lost the popular vote but won the White House. Here, you can see all the presidents since 1828 who managed to win both, based off data from Dave Leip’s Atlas of U.S. Presidential Elections. Enjoy!