The Confederate States of America, consisting of 11 Southern states that withdrew from the United States in 1861. The Confederacy fought the Union in the Civil War, which lasted from 1861 to 1865. After losing the war, the Southern states rejoined the United States.