Between 1824 and 1838 Costa Rica was a member of the Federal Republic of Central America, and the president was the federal president of the country, although the political influence of the federal government was minimal.