SAN DIEGO (CBS 8) - Bail has been set at $5 million for an ex-con accused killing a man during a robbery.

[RELATED STORY: Man accused in Clairemont convenience store killing pleads not guilty]

The judge overturned the original ruling of "no bail" for Ahmed Hassad Mumin. He allegedly opened fire during a robbery at the Arco am/pm on Balboa Avenue in April.

The 30-year old was arrested days later after a shootout with police that left him with a gunshot wound to the torso.

A preliminary hearing has been set for July 16.