Man charged in 'cold blooded' fatal shooting of Texas police officer during traffic stop Officer Sandeep Dhaliwal was shot in the back during a traffic stop.

A man with an active parole violation has been arrested and charged with capital murder for the fatal shooting of a pioneering Houston sheriff’s deputy during a routine traffic stop Friday, authorities say.

Officer Sandeep Dhaliwal of the Harris County Sheriff's Office had initiated a traffic stop and was apparently walking back to his patrol car when the suspect "caught him by surprise," ran up, and shot him in the back of the head "in a very cold blooded manner," Sheriff Ed Gonzalez said at a press conference.

Dhaliwal was rushed to the hospital in critical condition and died a few hours later.

Dhaliwal was the first member of the Sikh community to join Harris County's sheriff's office, and was a "pioneer" in the department, Gonzalez told reporters. He said the fallen deputy had recently returned from a volunteer mission to Puerto Rico, according to KTRK.

The Harris County Sheriff's Office announced late Friday that they had arrested Robert Solis, 47, and charged him with capital murder in Dhaliwal's death.

Harris County Sheriff's Office Maj. Mike Lee said that deputies immediately checked dash cam video inside Dhaliwal's squad car to get an image of the suspect, who officers then located inside a business about a quarter of a mile from where Dhaliwal was shot, according to Houston ABC station KTRK

"A deputy observed that he looked a little nervous and put him in custody, and that did turn out to be our shooter," Lee said, adding that the weapon believed to have been used in the shooting was recovered in the parking lot of the business.

Solis had an active parole violation warrant for aggravated assault with a deadly weapon dating back to January 2017, authorities said.

"He has a lengthy criminal history, on parole, probably knew he was going to go back to jail and did not want to go back to jail," Lee said of Solis. "It was senseless."

"There are no words to convey our sadness," Gonzalez said.

ABC News' Matthew Fuhrman and Alyssa Pone contributed to this report.