Only a small number of slaves already behind Union lines were immediately freed. As Union forces advanced, nearly all four million slaves were effectively freed. Some former slaves joined the Union army.