ROSS TOWNSHIP, Ohio (WCMH) — A Butler County Sheriff’s Office detective shot a suspect wanted in connection with child pornography while executing a search warrant early Monday morning, the sheriff’s office said.

The incident began at approximately 12:30 a.m. on the 4200 block of Jennifer Drive in Ross Township when sheriff’s office detectives and Homeland Security went to the home with the search warrant.

The sheriff’s office said when law enforcement entered the home, the suspect, later identified as Alex Hoskins, 26, pointed a handgun at them. The detective fired his weapon, hitting the suspect in the chest.

First aid was administered to the suspect by the detectives and a life squad was called to the scene immediately, the sheriff’s office said.

The suspect was taken to Ft. Hamilton Hughes Hospital for non-life threatening injuries. He was released to the custody of the Butler County Sheriff’s Office.

According to the sheriff’s office, Hoskins confessed to possession of child pornography as well as sending and receiving child pornography images and videos.

He has been charged with three counts illegal use of a minor in nudity oriented material/performance and felonious assault. He is currently in Butler County Jail.

“These encounters are becoming all too common these days,” Butler County Sheriff Richard K. Jones said in a statement. “I’m thankful the good guys will be going home tonight.”

The sheriff’s office has not identified the detective involved in the incident.

The shooting remains under investigation.