Technically, the presidency is decided not by the popular vote (total votes nationwide) but by the electoral vote. In the Electoral College system established by the Constitution, each state has the same number of electoral votes as it has representatives in the two houses of Congress. The total number of electoral votes is 538 (535 for the states plus 3 for Washington, D.C.). To become president, a candidate must win at least 270 electoral votes (a majority of the 538). Most of the time, the popular-vote winner is also the electoral vote winner. The most recent exception was 2016, when Democrat Hillary Clinton won the popular vote but Republican Donald Trump won the electoral vote—and the White House.