Electing a president

Candidates win their party's nomination through state primaries and caucuses and then must win a majority of the Electoral College, where most states give all their electors to the statewide winner.

From AP United States Government and Politics.