The Reconstruction era was a period in American history following the American Civil War (1861–1865) and lasting until approximately the Compromise of 1877. During Reconstruction, attempts were made to rebuild the country after the bloody Civil War, bring the former Confederate states back into the United States, and to redress the political, social, and economic legacies of slavery.