(CBS) — Three Lake County, Illinois Sheriff’s correctional officers saved the life of a man who was slumped over in a Waukegan courtroom after he overdosed on opioids.

The 24-year-old man was in the courtroom, giving support to someone who had a case.

READ MORE: Chaos In The Loop Leads To Shooting, Beatings; 21 Young People Arrested

Sheriff Mark Curran says three correctional officers noticed the man slumped over and quickly determined he had probably overdosed.

They gave him naloxone, which blocks the effects of opioids.

“They did it twice, and essentially they saved his life as a result,” Curran says.

READ MORE: Office Of Former Attorney William Enslen Goes Up In Flames After His Unsolved Murder In June

The epidemic of opioids is getting worse in Lake County, he says.

“Ultimately, it just destroys your life.  In some ways it would be less painful to just put a bullet through your head than to die at the hands of this after years of struggle,” Curran says.

The sheriff’s office says the man admitted using Xanax and heroin.

MORE NEWS: West Side Middle Schoolers' Holiday Wrapping Paper Design Goes National