Where was the capital of the confederate states?

The first capital was Montgomery, Ala.; the capital moved to Richmond, Va., The Confederate States of America