<P> Ulysses S. Grant Republican </P> <P> Rutherford B. Hayes Republican </P> <P> The United States presidential election of 1876 was the 23rd quadrennial presidential election, held on Tuesday, November 7, 1876 . It was one of the most contentious and controversial presidential elections in American history . The results of the election remain among the most disputed ever, although it is not disputed that Samuel J. Tilden of New York outpolled Ohio's Rutherford B. Hayes in the popular vote . After a first count of votes, Tilden won 184 electoral votes to Hayes's 165, with 20 votes unresolved . These 20 electoral votes were in dispute in four states . In the case of Florida, Louisiana, and South Carolina, each party reported its candidate had won the state, while in Oregon one elector was replaced after being declared illegal for being an "elected or appointed official". The question of who should have been awarded these electoral votes is the source of the continued controversy concerning the results of this election . </P> <P> An informal deal was struck to resolve the dispute: the Compromise of 1877, which awarded all 20 electoral votes to Hayes . In return for the Democrats' acquiescence to Hayes's election, the Republicans agreed to withdraw federal troops from the South to end the Reconstruction Era of the United States . The Compromise effectively ceded power in the Southern states to the Democratic Redeemers, who went on to pursue their agenda of returning the South to a political economy resembling that of its pre-war condition, including the disenfranchisement of black voters . </P>

Where did the election of 1876 take place