Zeshan Ahmed, 25, was charged with unlawful delivery of a controlled substance, cocaine, within 1,000 feet of a church. It’s a Class X felony punishable by six to 30 years in prison. Police said Ahmed is a gang member.

Belvidere police gang and narcotic detectives arrested Ahmed as he left the Boone County Court House. The arrest was the conclusion of a one-month investigation by the department’s Narcotic Unit, police said in a news release.