ALBUQUERQUE, N.M. (KRQE) - The man who New Mexico State Police say shot a gas station clerk to death for $49 will stay behind bars until trial.
The state says he's just too dangerous to be out in our communities.
Another suspect who admitted to the Edgewood robbery last month told police Daniel Martinez was the one who shot and killed the clerk.
Thursday, Martinez was in court in Santa Fe for his pre-trial hearing.
Martinez is among seven suspects accused in the death of gas station clerk Michael Pelkey.
State Police Investigator Janice Madrid took the stand Thursday detailing the timeline of events.
Police say it started when Eileen Sandoval noticed an open door in the attendant's booth when she was putting gas in her car.
That's when police say she made a call for the others to come. Daniel Gonzalez and Daniel Martinez showed up in masks and Gonzalez went in to rob the gas station.
Pelkey and Gonzalez struggled during the robbery. That's when police say Martinez stepped in.
"Daniel Martinez shot the clerk over Daniel Gonzalez's back," Madrid said.
Thursday, Judge Ellington agreed with the two investigators who took the stand that he's too dangerous to be out on bond.
Madrid said after fleeing the gas station, Martinez ended up at a hotel where he had a scuffle with a security officer and ended up accidentally shooting himself. He was arrested shortly after.
Martinez will be transferred back to the county detention center in Albuquerque where he's being held until trial.
Four of the other suspects will also stay behind bars until trial.