What you need to know about a school shooting in Texas

A gunman opened fire on the Pioneer High School football team in northeast Texas Thursday, killing nine students and wounding more than a dozen others, officials said.

Police initially identified the shooter as 20-year-old Jamiel Shaw, but later identified him as 21-year old DeShawn Pettis, who was charged with first-degree murder, said Mark Dennison, a spokesman for the Travis County district attorney’s office.

Pettis was scheduled to be arraigned on Friday on the first-level murder charge, but Dennion said it will likely be postponed.

Shaw had been a student at Pioneer High, according to school records.

Preston said the shooting occurred after a fight at a home in a neighborhood near the school, where police found a man who had been shot in the leg.

A police dog was also shot during the incident.

Officials said Pettis entered the house through a rear door and fatally shot a man before he opened fire, killing seven people.

Police recovered two handguns and several guns from the home, including a Glock handgun, and the other guns were recovered at Pettis’ house.

The school said the guns belonged to the shooting victim.

Officials did not provide any additional details about the shooting, including whether the shooting was random or part of a broader gang feud.

The school, which had a population of about 800 students, has an enrollment of about 2,400.

It was not immediately clear whether Pettis was enrolled at any other high school.

The shooting comes a week after a gunman opened a gun battle at the University of California, Santa Barbara, killing one person and wounding five others before being killed by police.