Answer: The answer is.
C. It was agreed troops would leave the South in exchange for a Hayes victory.
Explanation:
The Compromise of 1877 was an informal agreement between southern Democrats and allies of the Republican Rutherford Hayes to settle the result of the 1876 presidential election and marked the end of the Reconstruction era.
Democrats would accept Rutherford B. Hayes as president, and in return, Republicans would remove the last of the troops from the South, thereby ending Reconstruction.