Suspect in execution-style slaying of Texas deputy to face capital murder charges
Shannon Miles, 30, is shown in this booking photo provided by the Harris County Sheriff's Office in Houston, Texas on August 29, 2015. REUTERS/Harris County Sheriff's Office/Handout via Reuters

Sheriff's deputies on Saturday arrested a 30-year-old man who will be charged with capital murder in connection with the shooting death of a deputy at a suburban Houston gas station, a killing the sheriff tied to anger against police.

Shannon Miles was picked up for questioning early on Saturday following the Friday night shooting, which was captured on surveillance video, Harris County Sheriff Ron Hickman told reporters. He noted that Miles is black and has a history of prior arrests for trespassing and resisting arrest.

Earlier on Saturday, Hickman had linked the shooting of deputy Darren Goforth, who was white, to anti-police rhetoric across the country in the wake of deaths of unarmed black men at the hands of white officers.

On announcing the charges against Miles later in the day, Hickman said the department assumed Goforth was "a target because he wore a uniform."

"We have not been able to extract any details regarding a motive at this point," Hickman added. "As far as we know, deputy Goforth had no previous contact with the suspect, and it appears to be clearly unprovoked."

Hickman said a handgun had been recovered and that a ballistics test matched it to bullets recovered from the scene.

Goforth, a 10-year veteran of the force, was pumping gas into his patrol car when the gunman approached from behind and shot him in the back, then shot him more times as he lay on the ground, sheriff's officials said.

Witnesses saw the gunman in a red pick-up truck, and investigators used records that match vehicle descriptions to license plates to track down Miles, who lived near the gas station, Hickman said.

The fatal shooting in a suburb of Houston comes eight months after two New York police officers were ambushed and shot to death in Brooklyn by a gunman who had said he wanted to avenge the deaths of black men in confrontations with police.

New York Police Commissioner William Bratton said at the time of the shooting, which followed large-scale protests over deaths of African-Americans at the hands of officers, that police were unfairly subjected to public anger.

Hickman was blunt in his defense of law enforcement in the midst of protests against police by movements such as Black Lives Matter, which has complained of police violence and mass incarceration of blacks.

"We've heard black lives matter; all lives matter. Well cops' lives matter too," Hickman said.

"Our system of justice absolutely requires a law enforcement presence to protect our communities, so at any point where the rhetoric ramps up to the point where calculated cold-blooded assassination of police officers happen(s), this rhetoric has gotten out of control," Hickman added.

Harris County District Attorney Devon Anderson on Saturday called on the country's "silent majority" to support law enforcement. "There are a few bad apples in every profession. That does not mean there should be open warfare declared on law enforcement," Anderson said.

Some commentators on social media objected to Hickman's statements.

"It is sad that some have chosen to politicize this tragedy by falsely attributing the officer's death to a movement seeking to end violence," civil rights activist DeRay Mckesson said in a message on Twitter.

So far this year, there have been 24 firearms-related deaths of law enforcement officers, compared with 30 during the same period in 2014, according to the National Law Enforcement Officers Memorial Fund.

It was not immediately clear when Miles would appear in court for an arraignment.

(Reporting by Kevin Murphy in Kansas City, Alex Dobuzinskis in Los Angeles and Barbara Goldberg in New York,; Editing by Fiona Ortiz, Mary Milliken and Steve Orlofsky)