Jan. 21 (UPI) -- A Texas jury on Wednesday found former school police officer Adrian Gonzales not guilty of felony charges accusing him of endangering children during the 2022 mass shooting at Uvalde's Robb Elementary School that killed 19 students and two teachers.

Following seven hours of deliberations that capped off a two-week trial, the jury returned to the courtroom in Corpus Christi, Texas, Wednesday evening, when presiding Judge Sid Harle read its unanimous verdict that Gonzales was found not guilty on all charges.

Gonzales, 52, was facing 29 felony charges, one for each of the 19 fourth-grade students killed and 10 students wounded in the May 24, 2022, shooting.

Wearing a blue suit, Gonzales received the verdict while standing between two members of his defense counsel, one of whom placed a hand on the right shoulder of Gonzales, who bowed his head upon receiving the judge's words.

Some members of the victims' families who were in the courtroom cried, wiping eyes and noses with tissues, but remained silent on hearing the verdict.