The Electoral Commission, sometimes referred to as the Hayes-Tilden or Tilden-Hayes Electoral Commission, was a temporary body created by the United States Congress on January 29, 1877, 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 undisputed electoral votes, one vote shy of the 185 needed to win, to Hayes' 165, with 20 electoral votes from four states (Florida, Louisiana, Oregon, and South Carolina) unresolved. Both Tilden and Hayes electors submitted votes from these states, and each claimed victory.