Thirty-two states and the District of Columbia require presidential electors to vote for the popular-vote winner, and electors almost always do so anyway. Under the Constitution, the country elects the president indirectly, with voters choosing people who actually cast an Electoral College ballot for president. It takes 270 votes to win.

Source: http://feeds.nydailynews.com/nydnrss