Answer: Im not sure but maybe the explanation will help :)
Explanation: Democrats agreed that Rutherford B. Hayes would become president in exchange for the withdrawal of federal troops from the South and the granting of home rule in the South. Hayes was awarded the presidency over Democrat Samuel J. Tilden on the understanding that Hayes would remove the federal troops whose support was essential for the survival of Republican state governments in South Carolina, Florida and Louisiana.
Why did the Republican choose Rutherford B. Hayes became president?
* Safe liberalism, party loyalty, and a good war record made Hayes an acceptable Republican candidate in 1876. ... Hayes's election depended upon contested electoral votes in Louisiana, South Carolina, and Florida. If all the disputed electoral votes went to Hayes, he would win; a single one would elect Tilden. *