HIGH POINT, N.C. (WGHP) — An inmate from southwest Virginia being held in the Guilford County Jail in North Carolina is accused of tasing a sergeant while being moved on Wednesday, officials say.

Around 9:30 a.m. on Wednesday, Jan. 26, a sergeant who has been with the Guilford County Sheriff’s Office for 15 years was moving 21-year-old Eric Dwayne Swain Jr. of Roanoke, Va., from one location in the jail to another.

Swain allegedly grabbed the deputy’s taser from his waist and shot it at the deputy.

The deputy went to the hospital to get the prongs removed, but he is reportedly alright.

Swain is accused of robbing a store in Bassett, Va., on Sunday, Jan. 23 around 10 p.m., according to the Henry County Sheriff’s Office.

Deputies say he entered the store and ordered food. As the clerk prepared the order, Swain pointed the gun at the clerk, took the food, and left the scene.

He was charged with robbery and the use of a firearm during the commission of a felony.

Swain was arrested in Greensboro on unrelated violent felony charges and will be extradited to Virginia to face outstanding charges in Henry County and Roanoke.