The republic was made up of the present-day countries of Guatemala, El Salvador, Honduras, Nicaragua, and Costa Rica (Panama was part of the Republica de Colombia in 1821). Los Altos was added to the republic in the 1830's. Its capital was Quetzaltenango. Although the nation was independent of Spain, it had been annexed by the First Mexican Empire.