SANTA FE, Texas -- Ten people were killed and 10 others were injured in a shooting Friday morning at a high school in the southeastern Texas city of Santa Fe, Texas Gov. Greg Abbott confirmed.
Authorities have said two people have been detained in the shooting at Santa Fe High School. The Galveston County Sheriff's Office identified the shooter as Dimitrios Pagourtzis, who is 17.
He is in jail, accused of capital murder, the sheriff's office said.
The alleged shooter used a shotgun and a .38 revolver that were legally owned by his father, Abbott told reporters. Two school resource officers were on the campus and confronted the shooter "early on in the process," Abbott said.
• Abbott said investigators have found journals on a computer and cell phone owned by the suspect.
• The governor offered his sympathies to the victims then called for lawmakers and others to come together to prevent more tragedies. "We need to do more than just pray for the victims and their families. It's time in Texas that we take action to step up and make sure this tragedy is never repeated ever again."
• Retired Houston Police officer John Barnes was one of the people shot at Santa Fe High School, a hospital official said. Houston's police chief tweeted that he visited the hospital where Barnes was being treated and that Barnes was "hanging in there." The officer was working as a Santa Fe officer, a police union official tweeted.
Early morning attack
Gunfire erupted at the school, about 20 miles outside Galveston, not long after classes began around 7:30 a.m. CT, officials said. Authorities later found explosive devices -- including pipe bombs and pressure cookers -- in and near the school, the law enforcement official said.
The suspect is believed to be a student. A second person -- also believed to be a student -- has been detained as well, Harris County Sheriff Ed Gonzalez said earlier.
The male that Gonzalez described as a suspect was injured, a law enforcement official said on condition of anonymity.
Investigators believe that the second person, an 18-year-old, may be an accomplice but not a shooter, a law enforcement official said.
Two law enforcement officers are among the injured, according to a law enforcement source.
One man is in critical condition with a gunshot wound in one of his arms, said David Marshall, chief nursing officer for University of Texas Medical Branch hospital.
This is the 22nd US school shooting since the beginning of the year, and the third instance in eight days in which a gunman was on a school campus.
Witnesses described students running from the school as they heard gunshots; they also described hearing an alarm at the school, though the sequence of events wasn't immediately clear.
Authorities found explosive devices in the high school and in adjacent areas, said Walter Braun, Santa Fe Independent School District police chief. It wasn't immediately clear if any had exploded.
Because the devices were found, Braun urged people in the city of about 13,000 people to "not touch any items that look out of place, and call 911" if they see something suspicious.
Investigators Friday afternoon were searching a trailer where they believe the devices were assembled, a law enforcement source said.
The school has been cleared of all students and staff, who have been directed to a nearby facility to reunite with their families, Braun said.
Witness: Shooter fired gun in an art class
An armed person walked into an art class at the school and began firing what looked like a shotgun, a witness told CNN affiliate KTRK.
The witness told KTRK she saw a girl shot in the leg.
Victims were being treated at three hospitals, authorities said. Eight people were at Clear Lake Regional Medical in Webster, Texas; two patients were being treated at Mainland Medical Center in Texas City; and three patients are at John Sealy University of Texas Medical Branch in Galveston. It is unclear whether they were all wounded.
Six of the eight patients at Clare Lake Regional were discharged by Friday afternoon.
Witnesses describe hearing an alarm as well as gunfire
Angelica Martinez, a 14-year-old student, told CNN she and her schoolmates were being evacuated at one point "like it's a fire drill."
"We were all standing (outside), but not even five minutes later, we started hearing gunshots," she said. "And then everybody starts running, but, like, the teachers are telling us to stay put, but we're all just running away."
"I didn't see anybody shooting, but like (the gunshots) were kind of spaced," Angelica said, adding she heard about four shots.
The witness who spoke to KTRK also said she heard an alarm. She didn't specify if that was before or after the gunfire she described in the art class.
She said she couldn't describe the shooter.
"I didn't look. I just ran," she said.
Another student, Dakota Shrader, told CNN affiliate KPRC that she heard gunshots only after hearing an alarm in the school.
"I was in the history hallway, and as soon as we heard the alarms, everybody just started leaving following the same procedure as ... (a) practice fire drill," Shrader said, breaking into tears. "And next thing you know, we just hear ... three gunshots, loud explosions, and all the teachers are telling us to run."
MaKenna Evans, a 16-year-old sophomore, told CNN she was in geometry class when the shooting started.
First, she heard a fire alarm, she said. When the students got outside, her principal told them all to run.
Evans said students hid behind a building across the street from the school.
The high school has about 1,400 students, according to GreatSchools.org.
Three gun incidents in eight days
Friday's shooting was the third time someone with a gun was reported on a US school in recent days.
On Wednesday, an Illinois school resource officer shot and wounded a former student who fired a weapon near a graduation rehearsal at Dixon High School, authorities said. The suspected gunman faces three charges of aggravated discharge of a firearm.
On May 11, a 14-year-old boy in In Palmdale, California, went to Highland High, his former school, and began shooting a semiautomatic rifle shortly before classes began, authorities said. He was taken into custody and is accused of attempted murder. One person was wounded.
Trump: Mass shootings have been 'going on too long in our country'
President Donald Trump addressed the school shooting in Santa Fe Friday, saying that mass shootings have been "going on too long."
"Unfortunately, I have to begin by expressing our sadness and heartbreak over the deadly shooting at Santa Fe High School in Texas," Trump said from the East Room of the White House. "This has been going on too long in our country. Too many years. Too many decades now."
Trump said federal authorities are coordinating with local officials.
"We grieve for the terrible loss of life and send our support to everyone affected by this absolutely horrific attack," Trump said.