The civil war and reconstruction