The redeemer governments were the southerners who took power away from the carpetbaggers and regained control of their state governments by pushing out the radical governments established during Reconstruction. This was primarily accomplished as military occupation of the south ended in 1877. Some historians speculate whether a deal was struck during the disputed election between Rutherford B. Hayes and Samuel Tilden. Democrats agreed to Hayes' presidency if Republicans ended the military occupation in the south as well as other concessions. Referred to as The Compromise of 1877, it restored southern control to the south which in turn gave birth to 'Jim Crow'.