President Lincoln signed an Act that made slavery illegal in US territories.
Slavery also became illegal in the States on January 1, 1863.
Source