The United States remained one nation; the Civil War (1861‑65) erupted when 11 Southern states seceded to protect slavery, forming the Confederacy. The Union (Northern states) fought to preserve the nation and, ultimately, to end slavery. The war resolved the secession crisis; the U.S. was never formally partitioned into two countries.