Shannon J. Miles appeared briefly in state District Court in handcuffs and shackles and said very little, other than to answer the judge's questions. He is being held without bond and was appointed two attorneys.
Anderson read the probable cause statement during the hearing, saying that police received a call of an officer down at 8:20 p.m. Friday. When police arrived at the gas station in the Houston suburb of Cypress, they found Deputy Darren Goforth face-down.
Goforth, 47, was shot 15 times, Anderson said, adding that the suspect "unloaded the entire pistol into Deputy Goforth." She also said a witness saw the shooting and that the shell casings match the .40-caliber Smith and Wesson handgun found at Miles' home.
Anderson would not comment on a motive to reporters after the hearing.
Harris County Sheriff Ron Hickman said over the weekend that the attack was "clearly unprovoked," and there is no evidence that Goforth knew Miles.
"Our assumption is that he (Goforth) was a target because he wore a uniform," the sheriff said.
Miles' criminal record begins in 2005, when he was convicted of criminal mischief, giving false information to police and resisting arrest, according to records. In 2006, he was convicted of disorderly conduct with a firearm and sentenced to a maximum of 15 days in jail. He was convicted of evading arrest in 2007, and his most recent conviction came in 2009 for again resisting arrest.
Records show that the 30-year-old Houston resident was sentenced to several short stints in jail, anywhere from 10 to six days.
Goforth, 47, was pumping gas at a Chevron station Friday night in Cypress, a middle- to upper-middle-class suburban area of Harris County located northwest of Houston, when the gunman approached him from behind and fired multiple shots, continuing to fire after the deputy had fallen to the ground.
A prayer walk in Goforth's honor drew hundreds of people Sunday evening, and Gov. Greg Abbott ordered Texas flags in Harris County and at the Capitol to be lowered to half-staff to honor of Deputy Goforth.
Deputy Goforth's funeral is set for this Friday.
Photos from this story
The killing evoked strong emotions in the local law enforcement community, with Hickman linking it to heightened tension over the treatment of African-Americans by police. Goforth was white and Miles is black.
The nationwide "Black Lives Matter" movement that formed after 18-year-old Michael Brown was shot and killed by a white police officer in Ferguson, Missouri, has sought sweeping reforms of policing. Related protests erupted in Texas recently after a 28-year-old Chicago-area black woman, Sandra Bland, was found dead in a county jail about 50 miles northwest of Houston three days after her arrest on a traffic violation. Texas authorities said she committed suicide but her family is skeptical of that.
The Associated Press contributed to this report.