The correct answer to this open question is the following.
Although there are no options attached, we can welp you sharing the following ideas.
With the Compromise of 1877, Democrats agreed to let Rutherford B. Hayes become the President of the United States and Republicans agreed to the withdrawal of federal soldiers from the South.
To settle the differences that resulted from the presidential election of 1876, Republicans and Democrats negotiated to get an agreement that was called the Compromise of 1877. They decided that Rutherford B. Hayes become president, and Republicans agreed to the withdrawal of federal soldiers from the South. Democrat candidate Samuel Tilden accepted and the compromise was reached. This agreement also represented the end of Reconstruction in the southern states.