This illustration shows the giant ground sloth Mylodon feeding on the carcass of the hoofed native herbivore Macrauchenia. These extinct mammals roamed Patagonia and other parts of South America 12,000 years ago.

Modern sloths hang out in trees, move at a slow pace and eat a vegetarian diet – but the same thing can’t be said for their extinct relative, Mylodon.

This ancient ground sloth, which lived in South America until about 10,000 years ago, chowed down on meat as well as plants, making it an omnivore. The finding, rooted in new research, contradicts previous scientific understanding of the giant extinct creatures.

“Whether they were sporadic scavengers or opportunistic consumers of animal protein can’t be determined from our research, but we now have strong evidence contradicting the long-standing presumption that all sloths were obligate herbivores,” said lead study author Julia Tejada, American Museum of Natural History research associate and postdoctoral researcher at the University of Montpellier, France, in a statement.