Bail was denied for a man who accidentally shot himself early Tuesday outside his Logan Square neighborhood home, leading police to a cache of guns and a variety of drugs inside the home.

Frank Rousary, 46, told officers he was taking out his trash about 2:35 a.m. in an alley outside his home in the 1700 block of North Talman when he heard shots and felt pain, according to Chicago Police. Investigators later determined that he had accidentally shot himself in the back.

Frank Rousary | Cook County Sheriff’s Office

Officers investigating the shooting found multiple weapons and drugs inside his home, including methamphetamine, heroin, oxycodone, cocaine, MDMA, psilocybin and marijuana, police said.

Rousary was taken to Illinois Masonic Medical Center in serious condition, police said. He was arrested at the hospital at 12:40 p.m. and charged with one felony count each of unlawful use of a weapon by a felon, possession of more than 900 grams of heroin and possession of less than 5 grams of meth.

He was also charged with five felony counts of possession of a controlled substance and a misdemeanor count of cannabis possession, police said.

Judge Michael R. Clancy ordered Rousary held without bail at a hearing on Wednesday, according to Cook County court records. His next court date was scheduled for March 14.

He remained hospitalized Thursday morning, according to Cook County Sheriff’s Office records.