D. The Hayes-Tilden election
With the compromise of 1877 which settled the hotly contested election of 1876, the Republicans quietly gave up their fight for racial equality. Consequently, Hayes withdrew federal troops from the South bringing the Reconstruction to an end.