Millennials and Baby Boomers appear to be the age groups hardest hit by the opioid crisis, doctors at Columbia University conclude.

Millennials (people in their 20s and 30s) have higher death rates from heroin than other age groups, while Baby Boomers (those born between 1946 and 1964) have higher rates of death from both prescription opioids and heroin, the researchers report in the American Journal of Public Health.

The study found Baby Boomers were up to 27 percent more likely to die of a prescription opioid overdose, compared with people born in the late 1970s, HealthDay reports. They were up to one-third more likely to die of a heroin overdose. Millennials were 23 percent more likely to die of a heroin overdose compared with those born in the late 1970s.