(Chiapas, Soconusco, El Salvador, Honduras, Nicaragua, Los Altos, and Costa Rica) declared its independence from the Spanish Crown (15-09-1821) and, shortly after, annexed Mexico to defend itself better from Spain.
Belonged to the Viceroyalty of New Granada and, therefore, became independent along with Colombia. Of this one separated in 1904, by the direct action of EE. UU, to control the Panama Canal promoted the formation of a separate republic.