Freed all of the slaves in the states that were still fighting against the Union?

The Emancipation Proclamation of 1863 freed all the slaves of states that were still fighting against the union. The proclamation declare the civil war was a war to end slavery to the country and to the world.