On September 15, 1821, the Captaincy General of Guatemala — which included present-day Costa Rica, El Salvador, Guatemala, Honduras, and Nicaragua — declared independence from Spain. As a result, all five countries commemorate their independence on the same day each year.