The American Civil War (1861–1865) was a civil war in the United States of America that is sometimes called "The War Between the States." It was fought when 11 Southern states left the United States and formed the Confederate States of America (also called the Confederacy). The US government and the states that remained loyal to it were called the Union.