During 1861–1862 in the
western theater, the Union made permanent gains—though in the
eastern theater the conflict was inconclusive. The
abolition of slavery became a Union war goal on January 1, 1863, when Lincoln issued the
Emancipation Proclamation, which declared all slaves in rebel states to be free, applying to more than 3.5million of the 4million enslaved people in the country. To the west, the Union first destroyed the Confederacy's river navy by the summer of 1862, then much of its western armies, and
seized New Orleans. The successful 1863 Union
siege of Vicksburg split the Confederacy in two at the
Mississippi River, while Confederate general
Robert E. Lee's incursion north failed at the
Battle of Gettysburg. General
Ulysses S. Grant's western successes led to Lincoln's giving him command of all Union armies in 1864.