In 1877, President Rutherford B. Hayes, in order to secure a compromise with Southern Democrats that would grant him the presidency in a contested election, agreed to pull the remaining federal troops from the South. With the troops gone, white Southerners quickly went about eradicating the gains of Reconstruction.

