Transcript for Student in custody for opening fire in an Idaho middle school
Good evening and it's great to have you with us here on a Thursday night. And we begin tonight with yet another school shooting. Authorities revealing just moments ago that the shooter this time is a sixth grader. A female student who opened fire, they say, hitting two students and a custodian before they say a teacher was able to step in and get that gun. All of this playing out at a middle school in Rigby, Idaho. Multiple agencies responding. The school put on lockdown. Students describing huddling in their classrooms in the dark. The doors locked. The students then evacuated to the nearby high school, waiting for their parents to come for them. And as we have seen all too often, the tearful reunions. Students describing the sound of gunshots and screams. Tonight, authorities saying just moments ago that all three who were shot have survived and ABC's kayna Whitworth leading us off tonight with late reporting. Reporter: Tonight, authorities say a sixth grade female student is in custody after opening fire in this Idaho middle school. So today we had a worst nightmare a school district could encounter. Reporter: Just after 9 clshg A.M. This morning, multiple agencies rushing to the scene. A sixth grade female student retrieved a handgun from her backpack, she fired multiple rounds inside of the school and out. Reporter: According to authorities, the suspect shooting three people inside Rigby middle school, located less than 100 miles southwest of the famous yellowstone national park. Two students and a custodian sustaining non-life threatening injuries. Sixth grader Lucy describing the terror. We heard one gunshot, and then we heard another. And we heard multiple kids screaming and that -- people arguing. And then people ran past our room. And all my friends and I were freaking out, and we were hiding in the corner of our classroom with the lights off and the doors locked. Reporter: The school's 1,500 students going under lockdown. Lucy saying that after about an hour, they were evacuated from their classroom in a single file line. There was caution tape blocking the hallways. And there were policemen blocking the hallways, too. And when one of the guys moved, I think I saw a little bit of blood on the ground. And I was helping my friends. We were all crying and we were so scared. Reporter: The students then moved to a nearby high school. Reuniting with their parents. The fear and relief etched on their faces as they embraced. No one is in danger at this tie. And kayna Whitworth with us tonight. And kayna, I know authorities are crediting a hero, a teacher who stepped in. What more have we learned on that front and any word on what drove this sixth grader to do this? Reporter: Well, David, authorities are saying that it was a female teacher that was able to disarm this student and hold her until help arrived. Now, all three gunshot victims were rushed to the hospital. The adult male was treated and released. The two juvenile victims remain there in fair condition. And David, as for a motive, authorities are saying their investigation has just begun. Kayna, thank you. With the unfolding investigation in Idaho tonight.
This transcript has been automatically generated and may not be 100% accurate.