The Confederate Army was the military force organized by the Confederate States of America during the American Civil War, which lasted from 1861 to 1865. Composed primarily of troops from Southern states, this army fought to uphold the institution of slavery and resist the Union's efforts to preserve the United States. The Confederate Army was known for its strong leadership, particularly under generals like Robert E. Lee and Stonewall Jackson, and it played a crucial role in numerous battles throughout the war.