Guatemala, El Salvador, Honduras, Nicaragua, and Costa Rica got independence from Spain after being destroyed by Napoleon.

The Act of Independence of Central America (Spanish: Acta de Independencia Centroamericana), also known as the Act of Independence of Guatemala, is the legal document by which the Provincial Council of the Province of Guatemala proclaimed the independence of Central America from the Spanish Empire and invited the other provinces of the Captaincy General of Guatemala to send envoys to a congress to decide the form of the region's independence. It was enacted on 15 September 1821.