INVERNESS, Fla. — A wanted man was shot by a deputy during a traffic stop after he grabbed a taser and used it on a deputy and a detective Thursday, according to the Citrus County Sheriff.

It happened just before noon on East Highway 44 at South Elmwood Drive in the area of Inverness.

Detectives were transporting a suspect to jail when they said they noticed a passing vehicle with somebody inside who they believed had an outstanding warrant.

Once pulled over, a deputy and two detectives then approached Jeremy Scott Jennings, 41, a registered sex offender out of New York and wanted in Vermont for assault, according to the sheriff's office.

But during the traffic stop, things quickly took a turn.

Deputies say Jennings began to resist their commands and a struggle ensued.

Related: Barricaded man shoots at Polk County deputies, narrowly missing one

During the struggle, Jennings grabbed the deputy's taser and began tasing both the uniformed deputy and one of the detectives.

"Other deputies were engaged in the fighting trying to get the suspect to comply," said Citrus County Sheriff Mike Prendergast. "The armed suspect refused commands to drop the weapon and was subsequently shot."

Jennings was taken to the hospital. Prendergast would not say how many times or where on his body Jennings was shot.

Jeremy Scott Jennings
Citrus County Sheriff's Office

The deputy and detectives were treated for injuries at the scene.

"The willingness of this suspect to resort to physical violence during our contact is unsettling," Prendergast said. "An aggravated battery on three law enforcement officers like this could have easily ended the life of one of our deputies or that of the suspect."

As per protocol, the Florida Department of Law Enforcement will investigate the deputy-involved shooting. The deputy has been placed on paid administrative leave while the investigation is underway.

10News reporter Josh Sidorowicz contributed this report.

What other people are reading right now:

Make it easy to keep up-to-date with more stories like this. Download the 10 News app now.

Have a news tip? Email tips@wtsp.com, visit our Facebook page or Twitter feed.