Doug Stanglin, USA TODAY
A student at a Taft, Calif., high school opened fire with a shotgun Thursday, injuring at least one classmate.
Ray Pruitt, spokesman for the Kern County Sheriff's Department, said the shooter was taken into custody.
KERO-TV's Christine Dinh reported that at least two terrified students -- including one who had locked herself in a closet -- called their parents as the shooting unfolded.
Dinh said one of the students told her parents that she saw one victim, a classmate, lying on the floor in a pool of blood and that a second peson, a teacher was also shot.
KGET-TV quoted fire officials as saying the shooting victim was airlifted to Kern Medical Center with unknown injuries and that a second person, with minor injuries, refused treatment at the scene. Three ambulances and a medevac were sent to the school.
The shooting took place around 9 a.m. local time in the school's physical sciences building.
KERO said officers answering a 911 call went going room-by-room to secure the school. KABC reported that the weapon -- a shotgun -- was recovered.
Parents were instructed to pick up their students at the school's football field.
The Bakersfield Californian reported that the West Kern Water District building nearby was also placed on lockdown as a precaution.
Taft, which has a population over just over 9,300 people, is located 30 miles west-southwest of Bakersfield, Calif.
The community is represented in Congress by Rep.Kevin McCarthy, R-Calif., the Majority Whip, which is the No. 3 position in the House leadership.
On Twitter, McCarthy said he was "deeply saddened and troubled by the news of the shooting."