He plans to plead not guilty, and told his lawyers he was not involved in the shooting, said Anthony Osso, his court-appointed attorney.

Miles made his initial appearance at the Harris County District Court in Houston this week wearing the yellow jumpsuit assigned to high-security inmates.

This is not his first brush with the law. Three years ago, Miles was found mentally incompetent to stand trial on a separate felony assault charge, a prosecutor said this week.

At the time, he was charged with aggravated assault with a deadly weapon after fighting a man at an Austin homeless shelter over the TV remote control, said Joe Frederick, a prosecutor in Travis County.

Miles will undergo a psychological examination as part of his background investigation, Osso said. His defense team will include psychological experts, he said.

Mix of ‘toughness and gentility’

Goforth’s wife, Kathleen Goforth, described the fallen officer as a tough but gentle.

“My husband was an incredibly, intricate blend of toughness and gentility,” she told CNN affiliate KTRK in Houston.

Goforth was guided by an inner moral compass, she said, adding that she was lucky to have been married to him.

“He was who you wanted for a friend, a colleague and a neighbor,” she said.

About 30 minutes before the shooting, Goforth had investigated an accident, but authorities said it’s unclear whether there was a connection to the attack. There is no evidence that the victim and the suspect knew each other.

“I have been in law enforcement (for) 45 years,” Harris County Sheriff Ron Hickman said. “I don’t recall another incident this cold-blooded and cowardly.”

Hickman said the attack was “unprovoked,” and Goforth was targeted simply because “he was wearing a uniform.”

Husband, father

In addition to his wife, Goforth leaves behind two children, ages 5 and 12.

“Our hearts go out to them,” Hickman said, asking the community to remember his family in prayer.

“In times like these, it’s important to ask for the prayers from this community,” he said. “It strikes us in the heart to simply be a target because you wear a badge.”