You can get a good book on the Compromise of 1877. To get out of Reconstruction, Southern Democrats split with the Northern Democrats and ratified the 76 Election to give Hays the Election. Republicans promised capital improvements and investment. Republicans hoped to sway the Southern Whig element into the Republican Party. Southern Democrats do cross over and vote with the Republicans when it helps them. But the Republicans don’t get the shift they wanted.