The American Civil War was a civil war in the United States from 1861 to 1865, fought between northern states loyal to the Union and southern states that had seceded to form the Confederate States of America. Northern states (the Union) believed in a unitary country, free from slavery and based on equal rights; conversely, Southern states (the Confederates) did not want to abolish slavery and, therefore, formally seceded in 1861.