A sixth-grade girl brought a gun to her Idaho middle school, shot and wounded two students and a custodian, and then was disarmed by a teacher Thursday, authorities said.
The three were shot in their extremities and were expected to survive, officials said at a news conference.
Jefferson County Sheriff Steve Anderson said the girl pulled a handgun from her backpack and fired multiple rounds inside and outside Rigby Middle School in the small city of Rigby, about 95 miles (145 kilometers) southwest of Yellowstone National Park.
A female teacher disarmed the girl and held her until law enforcement arrived and took her into custody, authorities said, without giving other details. Authorities said they were investigating the motive for the attack and where the girl got the gun.
She is from the nearby city of Idaho Falls, Anderson said. He didn't release her name.
Dr. Michael Lemon, trauma medical director at Eastern Idaho Regional Medical Center, said the injured adult was treated and released for a bullet wound in an extremity. The bullet went cleanly through the limb, he said.
Both students who were shot were being held at the hospital overnight, and one might need surgery, Lemon said. Still, both students were in fair condition. One student had wounds in two limbs and might have been shot twice, he said.
Police were called to the school around 9:15 a.m. after students and staffers heard gunfire. Multiple law enforcement agencies responded, and students were evacuated to a nearby high school to be reunited with their parents.
"Me and my classmate were just in class with our teacher — we were doing work — and then all of a sudden, here was a loud noise and then there were two more loud noises. Then there was screaming," said Yandel Rodriguez, 12. "Our teacher went to check it out, and he found blood."
Yandel's mom, Adela Rodriguez, said they were OK but "still a little shaky" from the shooting as they left the campus.
"Today we had the worst nightmare a school district could encounter," Jefferson School District Superintendent Chad Martin said.
Martin said schools would be closed districtwide to give students time to be with families, but that counselors would be available starting Friday morning.
Rigby Middle School has about 1,500 students in sixth through eighth grades, according to the National Center for Education Statistics.
Lucy Long, a sixth-grader at Rigby Middle School, told the Post Register newspaper in Idaho Falls that her classroom went into lockdown after they heard gunshots, with lights and computers turned off and students lined up against the wall.
Lucy comforted her friends and began recording on her phone, so police would know what happened if the shooter came in. The audio contained mostly whispers, with one sentence audible: "It's real," one student said.
Lucy said she saw blood on the hallway floor when police escorted them out of the classroom.
The attack appeared to be Idaho's second school shooting. In 1999, a student at a high school in Notus fired a shotgun several times. No one was struck by the gunfire, but one student was injured by ricocheting debris from the first shell.
In 1989, a student at Rigby Junior High pulled a gun, threatened a teacher and students, and took a 14-year-old girl hostage, according to a published report. Police safely rescued the hostage from a nearby church about an hour later and took the teen into custody. No one was shot in that incident.