Authorities believe the bees followed their queen into Palmdale High School sometime over the summer.
A swarm of bees briefly terrorized a California high school that had only just come back into session for the fall.
Dozens of students at Palmdale High School were stung Tuesday when authorities say the swarm, which had taken up residence in a classroom, was disturbed.
Read: American Airlines Flight Delayed by 1,000 Bees Found Beneath Plane Wing
About 40 people were evaluated for stings and multiple students were transported to hospitals, where none were found to have experienced life-threatening reactions, according to reports.
As students cowered, fire officials dispatched the insects with fire hoses, according to CBS Los Angeles.
Watch: Woman Discovers 120,000 Bees Crawling Inside Her Ceiling
Officials believe the bees followed their queen into the school over the summer before building a nest in one of the classrooms.
The swarm has now been confined to that one classroom, officials said.
Watch: Family Helplessly Watched as Swarm of Bees Attack and Kill Their Dog