Answer:
The Compromise of 1877 was an informal agreement between the Democratic Party and the Republican Party, which served to define the result of the American presidential elections of 1876, by means of which federal troops were withdrawn from the southern territories of the country, restoring the political power of the region to the Democratic Party on the condition that it accept the Republican victory in the presidential elections. This agreement ended the Era of Reconstruction that began after the American Civil War, reinstating the segregation system for African Americans in territories that had belonged to the Confederacy.