A man whose body was discovered partially eaten by a bear in Great Smoky Mountains National Park last year died of a meth overdose before the bear ever got to him, according to an autopsy released on Monday.

The remains of William Lee Hill Jr., 30, of Louisville, Tenn., were discovered in the national park in September when officials encountered a bear feeding on the body in an area off a trail.

Without knowing the exact cause of death, park officials and wildlife professionals decided to euthanize the bear a few days later for “public safety reasons.”

But on Monday, the Knox County Regional Forensic Center revealed Hill died of “accidental methamphetamine intoxication,” WATE reported.

Officials estimate 1,500 bears are in the park along the Tennessee-North Carolina border, and though few show aggressive behavior toward humans, bears that pose a threat to visitor safety are euthanized on rare occasions.

The park says that attacks on humans are “rare,” but that people should stay at least 150 feet away from the animals.

“Bears are wild animals that are dangerous and unpredictable,” the park says on its website. “Do not approach bears or allow them to approach you!”