Slavery, war, and a new birth of freedom, 1840s-1877