What were the two cities that served as capital for the confederate states of America?

Montgomery, Alabama was the capital of the Confederate States of America from February 4 until May 29, 1861. The confederate capital moved to Richmond, Virginia in May 1861.