View more videos at: http://nbclosangeles.com.
The "heroics" of a teacher and campus supervisor protected students Thursday morning after a student with a shotgun opened fire on a 16-year-old classmate in a California high school classroom, police and sheriff's officials said.
The 16-year-old victim was in critical, but stable condition Thursday afternoon. The boy's injuries are not considering life-threatening, according to the Kern County Sheriff's Department.
Although officials would not name the teacher who confronted the student, his father told NBC4 Thursday afternoon that he was Ryan Heber.
Taft police received a report of shots fired at Taft Union High School (map), about 120 miles north of Los Angeles, at about 9 a.m. local time. Two Taft police units were at the school 60 seconds later, police said.
Slideshow from NBCLosAngeles.com: Shooting at Taft Union High School
The gunman, who is in custody, entered a classroom on the second floor of a science building and shot one student. About 30 students were in the classroom when the gunman entered about halfway through the session.
A teacher who "engaged" the gunman in conversation after the shooting suffered minor injuries when he was grazed by a pellet from the 12-gauge shotgun, according to the Kern County Sheriff's Department. The teacher, joined by a campus supervisor, convinced the student to drop the weapon, said Kern County Sheriff Don Youngblood.
"If it weren't for this teacher and a quick response, we don't know," Youngblood said."They talked him into putting the shotgun down."
The shooter -- described as a 16-year-old male student who lives near the school -- had "a dialogue" with the victim before Thursday morning, Youngblood said. After shooting the student, the gunman shot at -- but missed -- a second student as the teacher attempted to "get students out of the classroom."
The teacher "disarmed" the gunman before officers took him into custody, Youngblood said.
Casey Christie / Zuma Press
Sharon Bernard waits in front of Taft High School for her grandchildren after Thursday's shooting on campus.
"He told the teacher, 'I don't want to shoot you,' and named the other person he wanted to shoot," Youngblood said. "He had intended targets -- there's no question."
The teacher's injury was described a graze wound to the head, caused by shotgun pellet. The teacher told investigators he was not certain how many rounds were fired.
"The student was still armed with a shotgun at the time," Youngblood said of the encounter. "They probably distracted him, allowing students to get out of the classroom. I don't know what his exact words were, but they're being interviewed at this point.
"The heroics go without saying -- to stand there and face someone who has a shotgun and has already shot a student, we're very proud of the job they did."
It was not immediately clear how the student gained access to the weapon, sheriff's officials said. Authorities said they were not sure how a student with a gun was able to walk onto campus and enter a classroom.
Youngblood said the gunman had "numerous" shotgun shells in his pocket as the teacher and supervisor talked with him.
"We can't thank them enough for what they did today," said Taft Police Chief Ed Whiting. "They are really awesome people."
Students were brought to the school auditorium to wait for their parents.
A school security officer is usually assigned to the school, but weather conditions might have prevented the officer from arriving at the campus Thursday, Youngblood said.
The high school is in the Kern County community of Taft, a city of about 9,500 residents near a massive oil field at the southwestern edge of California's Central Valley.
The Taft shooting came less than one month after a gunman killed 20 children and six women at Sandy Hook Elementary School in Newtown, Conn., then killed himself.
Also on NBCLosAngeles.com: Snow, ice slow drive in Grapevine area north of Los Angeles