The Compromise of 1877 began allowing for the election of Rutherford B. Hayes as President of the United States. As a part of the Compromise, Republicans agreed to withdraw the remaining federal troops from the South. As a result, a succession of segregationist policies and Jim Crow laws were implemented creating systems of de facto and de jure slavery and segregation.