The suspected gunman, a 16-year-old male student, was taken into custody by Italy police and state troopers shortly after the incident at Italy High School, about 45 miles south of Dallas, Ellis County police told Fox News.

Officials confirmed in a press conference that the suspect was a student, and he left the school building immediately after firing shots in the cafeteria, Dallas Morning News reported.

An Italy ISD parent showed WFAA a text message alert from Superintendent Lee Joffre sent Monday morning. The message confirmed the shooting at Italy High School, and stated that one person was shot and taken to the hospital.

Evacuated students will be bused to Stafford Elementary School where they can be picked up by parents.

“UPDATE: The kids are being moved, under guard to the dome as the investigation continues. SHOOTER IS IN CUSTODY.”

UPDATE:The kids are being moved, under guard to the dome as the investigation continues. SHOOTER IS IN CUSTODY.

Officials at Stafford Elementary School confirmed to WFAA that it and the high school are both under lockdown.

“Parents are frustrated and emotional because they can’t get to their kids who are in lockdown inside the school. Parents say the school is small and a good portion of the students witnessed the shooting. My heart breaks for these families and these children.”

Parents are frustrated and emotional because they can’t get to their kids who are in lockdown inside the school. Parents say the school is small and a good portion of the students witnessed the shooting. My heart breaks for these families and these children. pic.twitter.com/EOT02a4WGR

It’s unclear what led to the shooting or if the shooter knew the victim.

The Ellis County Sheriff’s Department will lead the investigation of the shooting. Italy police, the Hill County Sheriff’s Office, the Texas Department of Public Safety and Texas Rangers were all assisting.