Why is Guatemala city the capital of Guatemala?

The original capital city of Guatemala was Antigua. It was also called Guatemala, but in the early 1800s there were several earthquakes that caused the nearby volcano Agua to erupt. Only instead of erupting with lava it erupted a huge pocket of water flooding the entire city. Several natural disasters such as this caused the people to move the capital to a safer location in 1821. The old capital was renamed Antigua Guatemala (now called Antigua for short) and the new capital got the name Guatemala City.