If the candidates tie, aor if no one reached the magic 270, the election would be thrown to the House of Representatives, where each state delegation gets one vote.