EARLVILLE, Ill. (CBS) — A homeowner who defended his property by killing an intruder was behind bars Tuesday morning.

As WBBM Newsradio’s Bernie Tafoya reports, the LaSalle County Sheriff’s office says it was Sunday morning when Joel Contreras, 47, opened fire on two men who had broken into his rural home outside the town of Earlville, about 85 miles southwest of Chicago.

READ MORE: 8-Year-Old Boy Shot, Killed While Playing On Front Porch In Markham

LISTEN: WBBM Newsradio’s Bernie Tafoya reports

One of the alleged offenders, whose name has not been released, died at a nearby hospital . The other, Marcus Samarripa, 24, of California, fled after the shooting, but was later arrested and charged in home invasion.

Contreras now is in jail too, but the reason has nothing to do with his use of his gun to defend his home.

READ MORE: Vandal Caught On Camera Trashing Trader Todd's Bar In Lakeview, Leaving Racist And Threatening Graffiti

While investigating the home invasion, police allegedly found marijuana plants growing in Contreras’ basement.

He now stands charged with production of cannabis plants.

LaSalle County Sheriff’s police continue to investigate.

MORE NEWS: Chicago Weather: Beach Hazards

The Sun-Times Media Wire contributed to this report.