The Confederate Army was the military force of the Confederate States of America during the American Civil War, formed in 1861 after several Southern states seceded from the Union. This army fought to preserve the institution of slavery and maintain the independence of the Confederacy, which was composed of states that sought to separate from the United States over issues like states' rights and slavery.