According to vote tallies from The Associated Press, Clinton amassed 65,844,610 votes across all 50 states and Washington D.C., 48.2 percent of all votes cast. Trump received 62,979,636 votes, 46.1 percent of all votes cast.

The Associated Press announced today that all votes had officially been certified.

Clinton had 2,864,974 votes more than Trump, the largest popular vote margin of any losing presidential candidate in U.S. history, according to the AP.

Trump won the presidency by clinching 304 electoral votes, well over the minimum 270 needed. Clinton won 227 electoral votes.

Clinton is the fifth presidential candidate in history to win the popular vote and lose the Electoral College.

The only other time this has happened this century was in 2000, when Democrat Al Gore came up short in the Electoral College but won the popular vote by 540,000 more votes than George W. Bush, the AP reported.