(CBS) — A man shot by DEA agents in southwest suburban Joliet Tuesday was indicted on drug charges after he allegedly tried to sell more than 2 kilograms of cocaine to an undercover agent.

Adan Godinez was charged with conspiracy to distribute cocaine and discharging a firearm during a drug trafficking crime, according to court documents. Fernando Godinez, who was with Adan and owned the cocaine, was also charged with conspiracy to distribute cocaine and possession of a firearm during a drug trafficking crime.

READ MORE: Chicago Weather: Second Sunday Night Tornado Confirmed; Cool And Clear Monday Night

Adan was shot by DEA agents about 5:30 p.m. Tuesday near the Louis Joliet Mall. He was taken to Saint Joseph Medical Center where he was listed in critical condition, authorities said.

Earlier this month, an undercover agent had arranged to buy 2.175 kilograms — almost 5 pounds — of cocaine from Adan and Fernando Godinez, authorities alleged.

READ MORE: Video Of Gruesome Humboldt Park Shooting From CPD POD Camera Was Made Public Without City's Permission, CBS 2 Has Learned

The parties settled on a time and place to meet, and during the exchange — which occurred in a vehicle near the mall — Adan ran off as he saw agents advancing on him, authorities alleged. As he ran, he pulled out a gun and shot at agents, who returned fire.

No law enforcement officers were injured, but Adan was shot in his lower body.

Court information for Adan and Fernando was not available Wednesday evening.

MORE NEWS: LIVE UPDATES: 130 Homes Damaged In Tornado In West, Southwest Suburbs As Dangerous Storms Hit Chicago Area Sunday Night

(Source: Sun-Times Media Wire © Chicago Sun-Times 2016. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)