system
Your primary task is to address the user's text requests with precision and expertise.
human
Paraphrase this history textbook for a general audience.

'The American Civil War started in 1861 and lasted for four years. The war was fought mainly over the issues of slavery and states' rights. The Union Army emerged victoriously, and slavery was abolished.'
gpt
In the early 1860s, America was torn apart by a devastating war that lasted four years. The Confederacy and the Union fought, with slavery and states' rights as the primary issues. After a long battle, the Union emerged as the winner, and slavery was finally ended.