The Compromise of 1877 occurred after the Presidential Election of 1876, when Congress formed the Electoral Commission to resolve disputed Democratic Electoral votes from the South.
The Electoral Commission consisted of five Representatives, five Senators, and five Supreme Court Justices. Originally, there were supposed to be seven Republicans, seven Democrats and one Independent. When David Davis, a registered Independent, refused to accept the nomination, the balance shifted to a Republican majority. The Commission gave all 20 disputed votes to Hayes.
The Electoral Commissions' decision could not be overturned unless both the Democratic controlled House of Representatives and the Republican controlled Senate agreed.
The Democrats were disappointed by the decision made by the Commission and conducted a filibuster in the House of Representatives to reject the decision. The Senate overruled the objection. Nothing was getting done.
The Compromise of 1877 was an unwritten, informal deal between the Republican and Democrats of Congress to recognize this Republican president if the following actions took place:
Removal of all federal troops from the southern states.
Appointment of at least one southern Democrat into Hayes's Administration.
Construction of a second transcontinental railroad in the South called the Texas and Pacific.
Legislation enacted to help industrialize the South.
●The election of 1876 was between Rutherford B. Hayes (republican), and Samuel J. Tilden (democrat).
●President Rutherford B. Hayes won the over all election, even though Tilden won the popular vote.