In the Compromise of 1877 that ended
 Reconstruction, Republicans agreed to
 (1) withdraw federal troops from the South
 (2) support the Black Codes
 (3) award the presidency to Democrat Samuel
 Tilden
 (4) accept the Supreme Court decision in Dred
 Scott v. Sanford