Step-by-step explanation:
Reconstruction was the period in the united states during which the Civil war took place and the laws were made to provide equity to the slaves ending slavery.
The problem arises due to the reunion of the 11 states of the South to the Union which seceded earlier. Slavery was more practised in the Southern states compared to Northern states.
The Republican party did corruption from 1869 to 1877 which allowed due to which they lost their election of 1877.
In 1877, a special electoral commission was established in favour of Hayes and Democrats took benefits of this condition.
When Hayes was selected, he withdrew the federal troops from the South which allowed the Democrats to gain their seats in South and ended Reconstruction.