What occurred as a result of the Compromise of 1877?