A 12-year-old child died after a shooting at Tanglewood Middle School in Greenville Thursday afternoon, the Greenville County Sheriff’s Office has confirmed. 

The student was shot at least once in the 700 wing of the school by another 12-year-old student who has been arrested, according to a statement released by the Sheriff’s Office by 6 p.m.

The student, now in custody, left the school after the shots were fired and was located in a home in the 3000 block of Easley Bridge Road, according to the Sheriff’s Office. He is expected to be charged with murder, possession of weapon during a violent crime, possession of a firearm on school property and unlawful possession of a weapon by a person under 18, the Sheriff’s Office said.

The student is being taken to the Department of Juvenile Justice in Columbia, the Sheriff’s Office said. The Sheriff’s Office said the two students knew each other but a motive is still under investigation.

Further information about the victim will be released by the Greenville County Coroner’s Office on Friday.

Law enforcement responded to the school at 12:30 p.m. Thursday after a school resource officer requested emergency backup after a student was shot, according to the Sheriff’s Office.

What we know:Shooting at Tanglewood Middle School in Greenville

Read More:Social media reacts to news of shooting at Tanglewood Middle School in Greenville

About Tanglewood Middle:Here’s a look at the students who attend Tanglewood Middle School on Greenville’s westside

An estimated 100 deputies and officers from numerous law enforcement agencies responded to the scene, including the State Law Enforcement Division, Sheriff Hobart Lewis said.

Tanglewood parent Amanda Hall said she got a text from her daughter, an 8th grade student at the school, around 12:30 p.m. The student told her there was a “code blue” incident, Hall said.

When Hall called her daughter shortly after, she told Hall she heard a gunshot while she was changing classes. Students were told by teachers to take shelter under the desks and speak quietly, Hall said.

4:45 p.m. |Gov. McMaster addresses the Tanglewood shooting on Twitter

South Carolina Gov. Henry McMaster tweeted in response to news of the Tanglewood Middle School shooting, saying he was “grateful” to the officers and agents who responded quickly to the tragedy and asking for prayers.