The 1876 election between Rutherford B. Hayes and Samuel J. Tilden, resulted in the smallest electoral vote victory. Hayes ultimately won by one electoral vote over his democratic opponent.

This election started out with the first count of votes Tilden received 184 to 165 for Hayes, and 20 electoral votes unassigned because of various disputes. Florida, Louisiana, and South Carolina had problems with the printing of ballots. South Carolina also had 101% voter turnout. All of these issues put the votes from those states into doubt. A fourth, Oregon, had an elector disqualified since he was "an elected or appointed" official. The 20 electoral votes ended up assigned to Hayes and the Democrats rejected the results.

An electoral commission was created in January 1877 in order to settle the issue. Based on the results from the commission, Hayes won by a single electoral vote. The commission completed its work on March 2, 1877, two days before the inauguration.

It is also the only election to date in which a candidate for the presidency (Tilden) received more than 50 percent of the popular vote, but was not elected president.

More Info: en.wikipedia.org