In the 1876 election to succeed Ulysses S. Grant, there were disputes regarding 20 electoral votes in four states—enough to guarantee a majority for either Rutherford B. Hayes or Samuel J. Tilden—along with multiple allegations of electoral fraud. This made it unclear who would take the president's office on inauguration day. This constitutional crisis was resolved only two days before the scheduled inauguration through the Compromise of 1877 under which federal troops were withdrawn from the South, and the Reconstruction era was brought to an end.
