Answer:
On 1 July 1823, the Congress of Central America peacefully seceded from Mexico and declared absolute independence from all foreign nations, and the region formed the Federal Republic of Central America. The Federal Republic of Central America was a representative democracy with its capital at Guatemala City.