The Electoral College was established in the U.S. Constitution as a compromise between electing the president by popular vote and by Congress. It allocates electoral votes to the states based on their representation in Congress. Most states use a winner-take-all system. On the Monday after the second Wednesday in December, electors from each state meet and cast their votes. These votes are counted by Congress on January 6. A candidate must receive 270 electoral votes to win the presidency. It is possible to win the popular vote but lose the electoral college.