OAKLAND — The attorney for a 19-year-old Oakland man charged with murdering an ex-convict outside an Adams Point market said Thursday that his client shot the victim in defense of himself and an acquaintance.

At a bail hearing for Luis Alfaro, attorney Peter Fitzpatrick said that Alfaro shot and killed Alfred Nunnery Sr., 38, on Jan. 29 as Nunnery and a second man were chasing a third man with guns.

Fitzpatrick said that just a couple hours before the fatally shooting outside a market at Harrison and Pearl streets, Nunnery and the other gunman had robbed his client at gunpoint.

This matter resolved for an involuntary manslaughter conviction for credit for time served on the date of trial.