Answer
The Compromise of 1877 resolved the disputed 1876 presidential election between Rutherford B. Hayes and Samuel J. Tilden. The compromise awarded Hayes 20 contested electoral votes, securing his victory, in exchange for ending federal support for Reconstruction and military occupation in the former Confederate States.