Alleged Texas gunman was cited for cruelty to animals in El Paso County in 2014

COLORADO SPRINGS, Colo. -- The man who allegedly killed at least 26 people at a Texas church on Sunday was cited in 2014 for misdemeanor cruelty to animals in El Paso County, according to court records.

Devin Patrick Kelley, 26, has been identified as the gunman in one of the worst mass shootings in U.S. history.

Kelley was allegedly dressed in all-black tactical gear -- including a ballistic vest -- when he opened fire during a Baptist church service in Sutherland Springs, Texas, about 30 miles east of San Antonio.

Kelley then fled the church and was later found dead in his vehicle, officials said.

Besides the 26 confirmed deaths, at least 20 others were wounded.

Kelley was cited by the El Paso County Sheriff's Office for misdemeanor cruelty to animals on Aug. 1, 2014, according to court records.

According to a sheriff's office report, a woman called deputies to report a husky puppy running through the Fountain Creek RV Park where Kelley was living.

RELATED: El Paso County Sheriff's Office animal cruelty report

The woman told deputies that she saw Kelley jump on the dog and punch it in its head and neck several times.

Kelley was seen by another man yelling at the dog while hitting it. The dog was "yelping and whining," according to the sheriff's report.

“She stated she witnessed four to five punches and then the male suspect grabbed the dog by the neck and drug him away,” according to the report.

The woman said Kelley drug the dog back to a camper. When deputies went to the camper, Kelley did not come out to talk or to show them the dog, according to the report.

Kelley later exited the camper and a deputy said the dog appeared to be underweight.

Kelley told told deputies he jumped on top of his dog because “it was acting aggressive to another dog,” but he denied beating the dog or dragging it.

Kelley was placed in a sheriff's vehicle and issued a summons. The dog was taken to the Veterinary Specialty Center in El Paso County for veterinary care, according to the report.

Kelley was sentenced to a deferred probationary sentence and ordered to pay $368 in restitution by El Paso County Judge Daniel Wilson.

Court records also showed Kelley was ordered by Wilson to pay $78 to the victim's assistance fund and a $2.50 genetic testing surcharge.

The charge was dismissed on March 31, 2016, after Kelley finished his sentence, according to court records.

Voter records show Kelley had an address in Colorado Springs before moving to Texas.

Kelley was court-martialed in 2012 for two counts of assault on his wife and child, according to an Air Force spokesman.

He was sentenced to 12 months’ confinement after the court-martial, and received a bad conduct discharge and was demoted in rank.

Kelley served in Logistics Readiness in Holloman Air Force Base in New Mexico from 2010 until his discharge in 2014, according to The Associated Press.