SANTA FE, Texas — The Texas student in custody in the school shooting at Santa Fe High School played football and danced as part of a church group.

Officials have identified a person in custody in the Houston-area school shooting as 17-year-old Dimitrios Pagourtzis.

According to the Santa Fe Independent School District, Pagourtzis is charged with capital murder and aggravated assault of a peace officer. He is being held in the Galveston County Jail without bond.

According to a probable cause affidavit, the gunman told investigators that when he opened fire at Santa Fe High School on Friday morning, "he did not shoot students he did like so he could have his story told.'' 

Texas Gov. Greg Abbott said that 10 people are dead, and 13 more injured, mostly students. The last deadly attack on a school was at the Florida high school in February that gave rise to a campaign by teenagers for gun control.

Abbott said that "unlike Parkland, unlike Sutherland Springs, there were not those types of warning signs." He was referring to the Feb. 14 school shooting in Florida and one in November inside a church in a town near San Antonio.

He also said "the red-flag warnings were either non-existent, or very imperceptible" in this case.

In addition to Pagourtzis, two others have also been detained, Abbott said.

An unknown number of possible explosive devices were found at the school and at a separate site nearby, which has slowed the investigation. 

A woman who answered the phone at a number associated with the Pagourtzis family declined to speak with The Associated Press.

"Please don't call us. Give us our time right now, thank you," she said.

Pagourtzis played on the school's junior varsity football team and was a member of a dance squad with a local Greek Orthodox church.

Father Stelios Sitaras of Assumption of the Virgin Mary Greek Orthodox Church in Galveston, Texas, said he met Pagourtzis when the young man danced with a group as part of an annual festival in October. He said the Pagourtzises are members of a nearby parish.

Sitaras said he had never heard of the teen being in any sort of trouble.

"He is a quiet boy," the priest said. "You would never think he would do anything like this."

Associated Press writers Michael Biesecker, Jeff Horwitz and Juan Lozano contributed to this report.