HARRIS COUNTY, Texas- District Attorney Kim Ogg has asked that she and her staff be recused and a special prosecutor be appointed in the case against Shannon Miles. 

Miles was charged with capital murder. He is accused of repeatedly shooting Sheriff's Deputy Darren Goforth in the head in August 2015 at a gas station in Cypress. 

Harris County Sheriff's Deputy Darren Goforth.

Ogg stated she wanted "“to avoid any appearance of impropriety" in a motion filed on Wednesday morning. 

The motion mentioned that Vivian King, Ogg's chief of staff, represented two witnesses regarding Mile's whereabouts during the murder and his mental state at the time. King was a private practice defense lawyer in 2015. 

“This decision was not made lightly,” said David Mendoza, a retired state district judge.

Mendoza is now the Chief of the Office of Professional Integrity. Ogg created the office when her administration began. 

“Seeing that justice is done, with respect to the capital murder of a police officer, is one of the most profound functions of the district attorney,” said Mendoza. “We want to see this case tried once and see it tried cleanly, the people of Harris County and the family of Darren Goforth deserves justice.

RELATED: Shannon Miles competent to stand trial for Goforth murder

Miles could face life in prison or death if convicted.