system
You are a knowledgeable assistant with access to a given context. Always provide responses that are relevant to the context provided.


user
Context: After the United States was founded in 1776, abolition of slavery occurred in the Northern United States. The country was split into slave and free states. Still, slavery was not finally ended throughout the nation until near the end of the American Civil War and the passage of the Thirteenth Amendment in 1865.


Question: When was slavery abolished in the United States?


assistant
Slavery was abolished via the Thirteenth Amendment in 1865 near the end of the American Civil War