Updated at 3:50 p.m. ET
"As of this time, there have been 10 lives lost" in a shooting at Santa Fe High School southeast of Houston on Friday morning, Gov. Greg Abbott said. He added that another 10 people were wounded and called it "probably the worst disaster ever to strike this community."
A suspect is in custody; a federal law enforcement official has confirmed to NPR that his name is Dimitrios Pagourtzis, 17, who is believed to be a current student at the school in Santa Fe, Texas.
Abbott said the gunman surrendered rather than carry out a plan to kill himself. A second person was also detained for questioning, police said, and a third who police said had been acting suspiciously is also being interviewed.
The weapons used were a shotgun and a .38 revolver — neither of which were owned by the shooter. The weapons belonged to the alleged shooter's father, who legally owned them, Abbott said.
Hours after the violence unfolded inside the school, news of another potential threat emerged. The Santa Fe Independent School District announced, "Possible explosive devices have been located at the school and off campus."
Police are "in the process of rendering them safe," the district said, adding that the school had been evacuated.
Law enforcement officers have warrants for two residences that have been linked to the suspect, Abbott said, adding that efforts to search them have been slowed by concerns that the properties might have been booby-trapped.
Describing explosive devices that have been found, Abbott said that a "CO2 device" and a Molotov cocktail were among the devices that have been spotted in both a home and a vehicle linked to the case.
Citing evidence from the suspect's journals and electronic media, Abbott said Pagourtzis had plotted to carry out the attack and then commit suicide.
Santa Fe is a city of some 12,000 people and sits between Houston and Galveston. In addition to police from the city and school district, the investigation involves both state and federal authorities, including the FBI.
Before Abbott's update, area hospitals had said that they had received at least 12 people from the school. The Clear Lake Regional Medical Center said that two of its campuses have together taken in nine patients, and another hospital said it was treating three people who were shot.
The shooting reportedly began before 8 a.m. local time, putting the school on lockdown and sending police rushing to the scene. Several witnesses have said the attacker was armed with a shotgun; reports have also said he had several weapons.
After announcing news of the shooting, the school district issued an update stating, "This morning an incident occurred at the high school involving an active shooter. The situation is active, but has been contained."
As the situation unfolded, several ambulances and Life Flight medevac helicopters were called to the location, and a stream of them were reportedly seen leaving for nearby hospitals.
Harris County Sheriff Ed Gonzalez said that one officer of the Santa Fe Independent School District Police Department was injured and is being treated at a hospital. He did not have details about that officer's condition.
The University of Texas Medical Branch said it received three patients — two adults and one person under 18 years old — from the shooting. One of those patients, a middle-aged man with a chest wound, is in critical condition, according to Raul Reyes, the hospital's director of media relations. The other two people had been shot in the leg, he said.
A student at the school told local TV station ABC 13 that she had been sitting in art class when someone entered with a gun and began firing. The student said that she fled and that she saw a student who had been wounded in the leg.
Another student, named Paige, told the station that she was in a classroom a few doors down from where the shooting started.
"I heard really loud booms, and I didn't know what they were at first," she said, saying she realized what the sounds were after she heard students screaming.
Paige said she and others took shelter in an area behind a stage after being told to wait before trying to leave immediately. The student said that she and others had trouble staying calm but that there was not a moment when she felt like what was happening wasn't real.
"It's been happening everywhere," Paige said. "I always felt like eventually it would happen here. I wasn't surprised, I was just scared."
While some students said the sound of gunfire alerted them to the danger, others said they fled the building after a fire alarm was pulled.
Bree Butler, a senior at Santa Fe High, told NPR's All Things Considered, "I'm so glad that so many kids got out safe, whoever pulled that fire alarm honestly saved so many people's lives."
She and her classmates had been working on a European history project, Butler said, when a teacher ran down the hall, yelling. It immediately got their attention.
"We shut the lights off and we shut the door," Butler said – but after the fire alarm sounded, they debated whether to leave, thinking the alarm might have been part of a gunman's plot to flush people out of classrooms.
That's when another teacher came in the room with a clear message, she recalled: "You need to get out."
Butler says the class made its way to a field behind the school, and she was able to find her younger sister, who had been in a classroom closer to the shooting. They eventually reunited with their mom, who took a group of students back to her house.
The same school was the site of a false alarm about a shooting back in February. In that case, students and teachers reported hearing "popping sounds" outside, as Houston Public Media reported.
Discussing the shooting at the White House, Trump offered his condolences and said his administration was monitoring the situation and that federal agencies are working with local authorities.
"This has been going on too long in our country. Too many years, too many decades now," Trump said, according to a pool report.
The president added, "My administration is determined to do everything in our power to protect our students, secure our schools and keep weapons out of the hands of those who pose a threat to themselves and to others. Everyone must work together at every level of government to keep our children safe."
The students behind the March for Our Lives movement, which started after the Marjory Stoneman Douglas High School shooting in Florida, sent a note of support, saying, "This is the most fatal shooting since the one at our school and tragedies like this will continue to happen unless action is taken."
One of the leaders of the group, Emma Gonzalez, added via Twitter, "Santa Fe High, you didn't deserve this."
As students exited Santa Fe High School, they left behind their backpacks to be checked by police and then filed onto a nearby grassy area alongside row of school buses. Images from the scene showed some students being searched by officers.
Speaking to media Friday afternoon, Abbott said it was "one of the most heinous attacks that we've ever seen in the history of Texas schools. It's impossible to describe the magnitude of the evil of someone who would attack innocent children in a school, a place of learning where parents should be able to send their children without fear for their child's safety."
Abbott asked for "prayers and support" for the families affected by the shooting. But he later added, "We need to do more than just pray for the victims and their families. It's in Texas that we take action, to step up and make sure this tragedy is never repeated."
The governor said he would meet with legislators and community members to begin "roundtable discussions" about "swift solutions to prevent tragedies like this from ever happening again."
The goal, he said, will be to create laws that respect the 2nd Amendment while also speeding up background checks and finding ways "to keep guns out of the hands of those who pose an immediate danger to others."
This is a breaking news story. As often happens in situations like these, some information reported early may turn out to be inaccurate. We'll move quickly to correct the record, and we'll only point to the best information we have at the time.