The Confederate States of Americaexisted from 1861 to 1865. Montgomery, Alabama served as thecapital of the Confederate States of America from February 4 untilMay 29, 1861.