FLORIDA-- A 3 year old boy was accidentally shocked Monday after a deputy tried using his taser on a wanted man who was in the vehicle with the boy.

It all happened in the middle of the day with lots of shoppers looking on in downtown Deland.

A Volusia County deputy pulled over a vehicle because the window tint looked too dark.

In the car he found Sylvester Hill, a wanted man. When the deputy realized Hill was wanted on an outstanding warrant for allegedly beating up a pregnant woman, the deputy tried to arrest Hill.

The deputy says Hill got out of the vehicle halfway through the window and had the deputy pinned against the car through the window in a head lock.

The deputy got out his taser and tried to shock Hill. That’s when the deputy says Hill grabbed the taser and, as they fought with it, it went off.

Hill fell to the ground, then took off running. The incident caused most of downtown Deland, including some schools, to be put on lockdown for several hours.

Deputies and Deland police caught up with Hill a few hours later hiding in a home nearby.

The boy was checked out at the scene, and was sent home with his mom, who was driving the vehicle.

Click here for more on this story from MyFoxOrlando.