An 18-year-old student is dead after being shot five to six times by another student outside Bowie High School in Texas.

In a press conference, Arlington Police Chief Al Jones and Arlington ISD Superintendent Dr. Matt Smith said that the shooting happened at the local public school around 2:50 p.m. Wednesday near a portable building outside.

The school was placed on lockdown just as students were about to be let out for the day.

When School Resource Officers arrived at the scene, they found the 18-year-old male student lying unresponsive on the ground with apparent gunshot wounds.

OKLAHOMA MAN ‘BLUDGEONED’ GIRLFRIEND'S RELATIVE WITH BRICK BEFORE DUMPING REMAINS IN WILDLIFE REFUGE

School buses

Authorities arrived at the scene of Bowie High School on 2:50 p.m. on Wednesday. (FOX 4)

The student was immediately taken to a nearby hospital, but died while at the hospital.

Officers say the 17-year-old suspected shooter tried to run away from the school, but police found him near the campus and arrested him. He will be charged with murder once he is booked into Arlington City Jail, police said.

School Resource Officer

School Resource Officers arrived at the school to find the 18-year-old student shot. (FOX 4)

Families were told to reunite with their kids at a district building miles away from the campus hours after the shooting occurred.

TENNESSEE LAWMAKERS PASS BILL ALLOWING TEACHERS TO CARRY GUNS AT SCHOOL 1 YEAR AFTER DEADLY NASHVILLE SHOOTING

Arlington police said they will share more information about the incident when it becomes available.

Arlington Police Department vehicle

The Arlington Police Department Police Chief Al Jones said that the Texas community "cannot tolerate this kind of violence." (Arlington Police Department )

Chief Jones said the community "cannot tolerate this kind of violence."

"Our hearts are with the entire Bowie High School community tonight," Jones said. "We, as a community, cannot tolerate this kind of violence. Not in our neighborhoods and not in our schools. Violence is never the right answer. We will continue to work in lockstep with our partners at Arlington ISD to ensure our schools are safe spaces where students can learn."

CLICK HERE TO GET THE FOX NEWS APP

In a statement, Dallas ISD shared their condolences with the school district.

"Our deepest condolences to Bowie High School and the Arlington ISD community," Dallas ISD said. "Sending thoughts, prayers, and heartfelt support during this difficult time."