The Electoral Commission sometimes referred to as the Hayes-Tilden or Tilden-Hayes Electoral Commission was a temporary body created on January 29, 1877, by the United States Congress to resolve the disputed United States presidential election of 1876. Democrat Samuel J. Tilden and Republican Rutherford B. Hayes were the main contenders in the election. Tilden won 184 electoral votes, one vote shy of the 185 needed to win, to Hayes' 165, with 20 electoral votes from four states unresolved. Both Tilden and Hayes electors submitted votes from these states, and each claimed victory.