One person was injured and another arrested after a convenience store shooting that put two schools on lockout.

Deputies responded at about 2:45 p.m. Monday to the Quick Pantry convenience store at 904 N. Emerald Road where one person had been shot in the leg, according to Sgt. Jeff Graham with the Greenwood County Sheriff’s Office. The person was taken to an area hospital for treatment.

As deputies responded to the shooting, authorities asked Greenwood County School District 50 to put Brewer Middle and Woodfields Elementary on lockout as a precaution. Both are located about a block away from the shooting.

Deputies were able to identify the shooter, Graham said, and that individual was arrested in a traffic stop in Ninety Six a short time later. The suspect’s name has not been released.

District 50 spokesman Johnathan Graves said the lockout was lifted at about 3 p.m. and schools were able to dismiss.