Answer
In 1842, Francisco Morazán, a prominent Central American leader and former president of the Federal Republic of Central America, was executed in Costa Rica. Morazán, known for his liberal and federalist ideals, faced opposition from conservative factions in the region. His execution came after he attempted to regain power and unite Central America, leading to a decisive defeat.