This is a list of heads of state of Federal Republic of Central America from its founding in 1821/1823 until its dissolution in 1840.