If neither presidential candidate got at least 270 electoral votes, the House would decide the election, based on the 12th Amendment to the Constitution. If required, the House would elect the president. Each state delegation has one vote and it takes 26 votes to win.