General Order No. 3 - June 19, 1865
Thirteenth Amendment - December 6, 1865
https://en.wikipedia.org/wiki/General_Order_No._3#Misconcept...
Text:
A common misconception holds that the Emancipation Proclamation freed all slaves in the United States, or that the General Order No. 3 on June 19, 1865, marked the end of slavery in the United States. In fact, the Thirteenth Amendment, ratified and proclaimed in December 1865, was the article that made slavery illegal in the United States nationwide, not the Emancipation Proclamation.[6][7][8][9]
Another common misconception is that it took over two years for news of the Emancipation Proclamation to reach Texas, and that slaves did not know they had already been freed by it. In fact, news of the Proclamation had reached Texas long before 1865, and many slaves knew about Lincoln's order emancipating them, but they had not been freed since the Union army had yet to reach Texas to enforce the Proclamation. Only after the arrival of the Union army and General Order No. 3 was the Proclamation widely enforced in Texas.