A Dallas man pleaded guilty Thursday to five federal hate crimes stemming back to 2015, when he opened fire on Muslims at a Texas auto repair shop, killing a man and injuring four other individuals.

Anthony Paz Torres, 38, also pleaded guilty to a single count of using a firearm to commit the murder, the Department of Justice said.

According to the investigation, the shooting spree occurred Dec. 24, 2015, just a few days after he went to Omar’s Wheels and Tires in Dallas, made anti-Muslim remarks and pledged to return.

TRIAL DATE SET FOR MARYLAND MAN CHARGED WITH HATE CRIMES OVER PARKING DISPUTE SHOOTING

Anthony Paz Torres mugshot

Anthony Paz Torres booking photo (FOX 4 Dallas)

When he returned Christmas Eve, Torres asked customers if they were Muslim, the DOJ said, before opening fire on customers and employees at the shop.

FOX 4 Dallas reported that during the shooting, Torres killed a 25-year-old man, and an armed witness reportedly fired back, striking Torres.

FLORIDA SHERIFF INVESTIGATING RACIALLY-MOTIVATED DOLLAR GENERAL SHOOTING CHALLENGES ANTI-GUN NARRATIVE

Dallas Police vehicle

Anthony Paz Torres fled to an area hospital, where Dallas police arrested him. (Dallas Police Department )

The suspect then fled to an area hospital, where police arrested him.

"Acts of Islamophobic-violence that cause death and injury have no place in our country and run contrary to our values as Americans," Assistant Attorney General Kristen Clarke of the Justice Department’s Civil Rights Division said. "This defendant is being held accountable for a violent and deadly hate-fueled shooting spree targeting innocent Muslim Americans. The Justice Department is firmly committed to confronting unlawful acts of bias-motivated violence, and stands ready, willing and able to prosecute perpetrators who target victims because of their religion."

Judge holding gavel

Torres is scheduled to be sentenced Jan. 24. (iStock)

Torres is scheduled to be sentenced Jan. 24.

CLICK HERE TO GET THE FOX NEWS APP

He faces a maximum penalty of up to 37 years in prison under the terms of the agreement, and will receive credit for time already served.