Ten people have been killed and 10 others injured after a student opened fire at a Santa Fe high school in Texas, the state governor said.
The attacker, who was arrested and charged with murder, was identified as Dimitrios Pagourtzis, a 17-year-old pupil at Santa Fe High School.
He allegedly used a shotgun and a revolver taken from his father, who legally owned the weapons.
Most of the dead are students, police said.
Texas Governor Greg Abbott said “various kinds of explosive devices” had been found at the school, 40 miles (65km) south of Houston, and off-campus.
We grieve for the terrible loss of life, and send our support and love to everyone affected by this horrible attack in Texas. To the students, families, teachers and personnel at Santa Fe High School – we are with you in this tragic hour, and we will be with you forever… pic.twitter.com/LtJ0D29Hsv
— Donald J. Trump (@realDonaldTrump) May 18, 2018
They included “a CO2 device” and “a Molotov cocktail”, he said.
Mr Abbott said police found information on the suspect’s diary, computer, and mobile phone suggesting that he planned the attack and intended to kill himself afterwards.
The governor said the teenager “gave himself up” because “he didn’t have the courage to commit the suicide”.
Santa Fe Police Chief Jeff Powell advised residents to be aware of any suspicious objects they find. “Do not touch any items that look out of place,” he said.
Santa Fe school police officer John Barnes has been named among the injured. He was in a critical condition and undergoing surgery, local media reported.
READ: #RoyalWedding: What Prince Harry and Meghan Markle will say to each other
Also on Friday, one woman died and another was injured in a shooting outside a high school graduation ceremony in in Atlanta.
So far this year, more than 5,000 people have died in shooting incidents in the United States, according to monitoring group the Gun Violence Archive.
How the attack unfolded
Students said the shooter entered an art class and opened fire shortly before 08:00 (13:00 GMT).
“There was someone that walked in with a shotgun and started shooting,” one witness told KTRK-TV, “and this girl got shot in the leg.”
One student told local network KHOU-11 that a teacher who realised what was happening activated a fire alarm to evacuate the building.
Dakota Shrader, a student, told CBS News that everyone began running outside when the alarms went off.
“Next thing you know everybody looks, and you hear boom, boom, boom, and I just ran as fast as I could to the nearest floor so I could hide, and I called my mom.”
Another student, Damon Rabon, told CBS he looked out of his classroom after hearing loud bangs and saw the shooter. “Black trench coat, short kind of guy, had a sawed-off shotgun,” he said.
There were 1,400 students in the school at the time of the attack, according to Lt Gov Dan Patrick.
Shock and grief at a vigil for the victims
Hundreds of people gathered at sunset on Friday on a large open lawn near to the school, for a vigil to remember the dead.
The sound of preachers and politicians was intermittently drowned out by wailing and sobs from attendees – still in shock at the violence that had come to this small town of 18,000.
John Overbeck, a final-year student at Santa Fe High School, said he saw a man fall to the ground as he fled the gunman.
“I don’t know how to feel. I don’t know if it’s hit me yet. When something like this happens, it’s just so easy to be distracted from it,” he told the BBC. “I feel like when I’m isolated later, I’m going to break down.”
Much of the area around the school remained cordoned off to the public on Friday evening. Behind the police tape, in the school’s car park, vehicles belonging to students and staff sat where they had been left that morning, before the shooting began.