Reconstruction ended after the disputed 1876 election between Republican candidate Rutherford B. Hayes and Democratic candidate Samuel J. Tilden. With a compromise Hayes won the White House, the federal government withdrew its troops from the South, abandoning the freedmen to white conservative Democrats, who regained power in state governments.[8]