Hillary Clinton surpassed Donald Trump by more than 2 million votes, but lost the electoral college 306 to 232. In raw votes, it was the largest popular-vote lead in history for a candidate who lost the election. The nature of the results has again stirred up debate about the merits of using the electoral college system.

A state’s electoral votes are equal to the number of representatives and senators the state has in Congress. House seat apportionments are based on population and are reapportioned every decade after the census. Every state is guaranteed at least one seat in the House and two in the Senate.

The electoral college is supposed to guarantee that populous states can’t dominate an election, but it also sets up a disparity in representation. While California has one electoral vote per 712,000 people, Wyoming — the least populous state in the country — has one electoral vote per 195,000 people.