After what battle in 1862 President Abraham Lincoln announced his intention of freeing all slaves in the Confederacy.