People have been enjoying chocolate far longer than previously known, according to research published on Monday detailing the domestication and use of cacao beginning 5,300 years ago at an ancient settlement in the highlands of southeastern Ecuador.

Scientists examined ceramic artifacts at the Santa Ana-La Florida archaeological site, a remarkably preserved village and ceremonial center that was part of the Mayo-Chinchipe culture of the Andes, and found abundant evidence of the use of cacao, from which chocolate is made.

The study indicates cacao was domesticated roughly 1,500 years earlier than previously known, and that it occurred in South America rather than in Central America, as previously thought.