The Emancipation Proclamation was not the only factor that led to the freeing of slaves from their plantations. The war itself played a role, as the Union Army advanced into the Confederate states and liberated slaves as they went. The passage of the Thirteenth Amendment to the United States Constitution in December 1865, which officially abolished slavery throughout the United States, was also a crucial step.