Updated

LOS ANGELES (AP) — A former San Francisco Bay Area Rapid Transit police officer testified Friday that he mistakenly pulled out his pistol instead of a stun gun when he shot and killed an unarmed black man who was lying face down on an Oakland train platform last year.

In an emotional courtroom session marked by a spectator's outburst, Johannes Mehserle broke down in tears as he told jurors in his murder trial that he heard a pop and thought the Taser had malfunctioned.

"I remember the pop that wasn't very loud. It wasn't like a gunshot. I remember wondering what went wrong with the Taser. I thought it malfunctioned," he said.

Mehserle, who previously testified that earlier in the incident he had pulled out his Taser twice, said he only thought of using the stun weapon.

"It was the only option that crossed my mind," he said. "Given the situation, the backdrop, the thought of using my gun never entered my head."

Mehserle, who is white, has pleaded not guilty to murdering 22-year-old Oscar Grant on New Year's Day 2009. The trial was moved to Los Angeles from Alameda County because of intense media coverage and racial tensions.

Mehserle's face grew red, his voice dropped and he tried to hold back tears as he testified. Grant's mother, Wanda Johnson, left the courtroom as the defendant cried.

Moments later, a spectator walking out of the courtroom shouted, "Maybe you should save those (expletive) tears, dude!"

Superior Court Judge Robert Perry asked sheriff's deputies to arrest the man, who was placed in handcuffs and taken away.

Mehserle's mother also was in the courtroom and wiped away tears.

Mehserle had maintained a public silence for 18 months about what led him to shoot Grant until he took the witness stand in a surprise move Thursday. He told jurors that training he received didn't emphasize the possibility of mistaking his stun gun with his .40-caliber handgun.

On questioning by defense lawyer Michael Rains, the brawny, 6-foot-4 Mehserle said he received Taser training in December 2008 and had only pulled it out once while on duty in the month before the shooting.

He said his former employer didn't put much weight on possible "confusion issues" stemming from where officers place the Taser holster, only that the weapon wasn't to be put under their issued handgun.

"They left it up to us to figure it out," said Mehserle, who spoke in a calm, soft voice. "For me it wasn't that big of a deal."

Prosecutors say Mehserle intended to shoot Grant, and that Mehserle used his handgun because officers were losing control of the situation. Mehserle wore his stun gun on the front left side the night of the shooting, while his handgun was mounted on his right hip.

Legal experts said that while defendants in criminal trials rarely take the stand, Mehserle's testimony could be compelling for jurors.

"They are going to want to get a sense of is he a good person, a thoughtful person," said Dr. Philip Anthony, a Los Angeles psychologist who is chief executive of the jury consulting firm DecisionQuest. "Most importantly, they want to hear what was running through his mind, his thought process when he fired that fatal shot."

On the stand Thursday, Mehserle did say when he arrived with his partner to the train station in response to a possible fight, that he could hear yelling and screaming from the platform above.

"I remember it being real loud," Mehserle said. "I didn't know if officers were involved in the fight or the crowd had turned on them. It didn't sound good."

He added he intercepted a few men who he said were approaching two fellow officers that had detained Grant and several friends against a concrete wall. He said the men, who turned out to be more of Grant's friends, were taunting the BART officers.

"I just instructed them to get back," Mehserle said.

He said he eventually looked at Grant and Jackie Bryson, who appeared to be upset. The other two officers, Tony Pirone and Marysol Domenici, had pulled their stun guns out, and given the situation, Mehserle said he decided to do the same. Before Grant was shot, he snapped a photo of Mehserle pointing his Taser stun gun in his direction.

Mehserle said he wasn't sure what had transpired but tried to cool down Grant and Bryson.

"They were yelling '(expletive) that officer,' 'I'm going to sue,'" Mehserle recalled the two men saying of Pirone, who was described by some onlookers as the most aggressive and hostile toward Grant and his friends. The shooting, and the events leading up to it, were captured on video by several bystanders.

Grant's uncle, Cephus "Bobby" Johnson said he believes Mehserle will try using his testimony to differentiate himself from Pirone.

"Now all of the sudden he's this huggable, passive, non-aggressive person who really believes in communication instead of exerting authority," Johnson said. "I'm not buying that."

___

Associated Press Writer Terry Collins contributed to this report.