The Federal Republic of Central America , also called United Provinces of Central America in its first year of creation, was a sovereign state in Central America, which consisted of the territories of the former Captaincy General of Guatemala of New Spain. It existed from September 1821 to 1841, and was a republican democracy. It is also sometimes incorrectly referred to in English as the United States of Central America.