What did the Compromise of 1877 do?

What did the Compromise of 1877 do?