How did slavery reflect in the civil war?

slavery was ended in the southern states.