INGLEWOOD, Calif. (KABC) -- A former employee was taken into custody after two women were injured in a shooting at Spartan College of Aeronautics and Technology in Inglewood Friday afternoon, officials said.
Inglewood Mayor James Butts said the shooting happened around 3:45 p.m. inside an office on the campus, located at 8911 Aviation Boulevard. AIR7 video showed a major police presence outside the school amid a search for the gunman.
Since the accused shooter was a former security guard at the school, authorities knew his name and the car he was in. That vehicle was spotted in Koreatown a few hours after the shooting.
A man matching the description of the shooter was handcuffed and detained. Police wouldn't confirm his identity but did say the shooting suspect is in custody.
The alleged gunman was apparently wearing his security uniform during the shooting.
WATCH: Inglewood mayor provides update on Spartan College shooting
Butts described the shooting as an incident of workplace violence. The two women are employees of the school, he said.
Both victims were hospitalized in critical condition, the Los Angeles County Fire Department said.
A lockdown was placed around the campus, but it was later lifted after police determined the suspect had fled the scene.
Cellphone video from a car rental parking lot across the street from the college shows first responders carrying one of the injured women away from the building.
Dozens of students and staff at the aviation school were interviewed by investigators as police tried to understand what led to the violence.
It's unclear what motivated the shooting.
Chris Becker, president of the campus, told Eyewitness News that the campus prepares for almost every kind of emergency, but Friday's shooting still caught everyone off guard.
"We're an aviation school, so safety is one of the things that we focus on the most," Becker said.
"We all get along really well," he added. "We care about one another deeply, and this is hard on all of us."
The Spartan College of Aeronautics and Technology has campuses across the country. Its Inglewood location accommodates 500 students and offers training programs focused on aviation maintenance technology, according to its website.
It is about a mile from Los Angeles International Airport.
ABC News and the Associated Press contributed to this report.