One student was shot and an unidentified suspect was taken into custody today at Robert E. Lee High School in Montgomery, authorities said.

A 17-year-old male student suffered an injury that wasn’t considered life-threatening.

At a press conference this afternoon, Montgomery Mayor Todd Strange said the victim had been treated and released from a hospital. A school spokesman said this morning that the victim was shot in the arm in the school gym.

Strange said this afternoon that the suspect is a student. Strange said the shooting was not believed to be “random,” but that officials were not ready to talk about the motive.

Police have not named the suspect and said the investigation is continuing. The firearm recovered was a handgun, they said.

Strange said witnesses have been interviewed who may or may not have had some involvement in the incident.

Montgomery Police Chief of Operations Scott Tatum said about 30 students and faculty members had been interviewed so far.

Strange, Tatum and other officials praised the response of law enforcement and school system employees.

The school was placed on lockdown while authorities made sure there were no other threats other than the single suspect. Strange said the process was methodical and thorough and happened without pandemonium or chaos.

“It took us a while, as you can imagine, to get everybody back in their classroom, to count all the heads, to check every classroom, to make sure that there were no additional active shooters in the building and involved,” Strange said. “And that timeline took several hours.”

Tatum said police got multiple calls reporting the incident about 11 a.m. Tatum said initial calls were from school staff to the school resource officer assigned to Lee and from the school staff to 911. Tatum said the response was fast and in accordance with training on school shootings.

“No longer are the days when you stand by and wait for other officers to arrive before you go into an incident,” Tatum said. “Our officers went in immediately.”

Because if was a school shooting, Tatum said county and state police also responded. Tatum praised the response of school officials.

“As soon as the active shooter went into effect, they went into a full lockdown and the students that were actually out in the hallways and transitioning throughout the school were pulled in to anywhere they could pull them into to make sure they were safe,” Tatum said.

Officials said it was unclear how the gun was taken into the school. Montgomery Public Schools Superintendent Ann Roy Moore said the main entrance at Lee has metal detectors but said there are multiple entrances to the school, which was built in the 1950s.

Last year, Gov. Kay Ivey announced the creation of a school sentry program, authorizing school administrators who undergo training to store guns at school to respond to shooter situations. Moore said Lee does not participate in that program, which is for schools who are not assigned a school resource officer.

Strange said he would not be in favor of arming teachers or administrators.

“I don’t think we can recommend that we arm teachers and administrators unless there’s a specific circumstance that I can’t think of right at this point in time,” Strange said. “But at the end of the day, that’s not our decision. But if they ask for my recommendation, that’s what it would be.”

Montgomery police Capt. Regina Duckett spoke to news reporters outside the school this morning.

Duckett told reporters the school remained on lock down following the shooting in the gym. She said the parents of the injured 17-year-old student have been notified. The teen was being treated at a local hospital.

Montgomery Public School’s spokesman Tom Salter says they’re unsure how the gun got into the school at this time. Lee has metal detectors in place that were working this morning pic.twitter.com/agsAFzsrnE — Kirsten Fiscus (@KDFiscus) February 26, 2019

Parents, families waiting outside Lee High School in Montgomery. School is on lockdown after 1 student shot in arm this morning, non life threatening injury. 1 in custody. pic.twitter.com/7PSD54Kwia — Mike Cason (@MikeCasonAL) February 26, 2019

Roderick Adams was among the parents waiting outside the school. Adams said he got a call this morning from his wife saying there was an active shooter at the school. His wife was able to talk to their daughter by phone and confirm she was not hurt.

“I would rather have my kids at home man where they’re safe,” Adams said. “You can’t protect them 24/7 but I think I can do a better job than this. My question is if we’ve got law enforcement, all these people around here now, you’ve got all this law enforcement, why can’t they keep guns out of the school?”

Updated at 4:45 p.m. to say that victim treated and released from hospital and add other information from afternoon press conference. Updated at 6 p.m. to add video from Montgomery Police Chief of Operations Scott Tatum.