During four years (1861-1865), North and South had been fighting a war that ended with Union victory and the emancipation of slaves.