The American Civil War was the military conflict that was fought from 1861 to 1865 between the southern states that had left the United States, united in the Confederation, and the northern states that remained in the Union (United States).