Receive the latest national-international updates in your inbox

Broward Sheriff's Office Deputy Peter Peraza is cleared of a manslaughter charge in the shooting of Jermaine McBean. (Published Wednesday, July 27, 2016)

A judge on Wednesday dismissed a manslaughter charge against a Florida deputy who claimed self-defense in the 2013 fatal shooting of a 33-year-old black man carrying what turned out to be an air rifle.

Circuit Judge Michael Usan ruled in favor of suspended Deputy Peter Peraza of the Broward Sheriff's Office under Florida's "Stand Your Ground" self-defense law that eliminates a requirement to retreat — for civilians and law enforcement officers, the judge said — when facing a dire threat.

The now-dismissed manslaughter charge carries a potential 30-year prison sentence. Prosecutors immediately said the decision will be appealed.

The ruling was issued the same day all remaining charges were dropped against Baltimore police officers in the death of Freddie Gray, who was injured while being transported in a police van. And it comes in the midst of a tense national discussion of policing and race, including the fatal shootings of officers in Dallas and Baton Rouge, Louisiana, and recent police killings of black men in Baton Rouge and Minnesota.

Peraza, 37, who identifies himself as a white Hispanic, testified during a hearing that Jermaine McBean initially refused commands from him and other deputies to drop the authentic-looking weapon and then turned and pointed it toward the deputies in July 2013. Peraza fired three shots, killing him.

In his 36-page order, the judge called the shooting a "tragedy" and noted the ongoing national debate involving the shootings by police officers of black people and the hostility and threats sometimes directed at police.

But Usan said that debate has "no place in this courtroom concerning this case" and said Peraza's use of deadly force was justified under Florida law.

"This case involves the tragic death of one man and the liberty of another. To allow the conflicting agenda of supporters of either side to invade this legal process would be a far greater injustice," he said.

Peraza attorney Eric Schwartzreich praised the decision and said the deputy should never have been charged.

"All police officers should feel confident that, in this dangerous day and age, they can now protect and serve without fear of being indicted," said Schwartzreich, who represents Peraza along with attorney Anthony Bruno. "Regardless, this case is a tragedy all around. This case was never about race; it was about self-defense."

McBean family attorney David Schoen said he will continue to pursue a federal civil rights lawsuit against the sheriff's office over the shooting.

"It is (a) complete travesty and miscarriage of justice," Schoen said of the ruling. "It should have been impossible for any judge to take this case away from a jury."

A spokesman for State Attorney Michael Satz said in an email that the ruling will be appealed. Satz's office added in a statement that the "Stand Your Ground" defense should not apply in a law enforcement case.

On June 1, fired Palm Beach Gardens officer Nouman Raja was charged with manslaughter and attempted first-degree murder for killing stranded motorist and musician Corey Jones, who was black, while Jones waited for a tow truck. Raja, of South Asian descent, has pleaded not guilty.

Witnesses during the Peraza hearing described how 911 callers were reporting a man carrying a rifle, possibly a shotgun, down a busy street in broad daylight. In previous hearings, McBean has been described as being bipolar and recently recovering from a serious mental episode. He had just purchased the air rifle at a nearby pawn shop.

Peraza testified that McBean initially was carrying the camouflage-designed rifle like a cane, and then put it across his shoulders behind his neck in a common military style as he approached his apartment complex, where families with children crowded a pool area. Suddenly, he said, McBean turned and pointed the gun at the officers.

"Completely defenseless, you have all these women and children in the pool area trying to enjoy their day," Peraza testified. "I don't know if my heart can race any faster and my fear level can go any higher."

Peraza also testified he did not see earbuds in McBean's ears before the shooting. McBean's family says he likely did not hear police commands to drop the rifle because he was listening to music.

Broward Sheriff Scott Israel did not comment directly on the judge's decision but said he hoped the local community would be able to heal.

"A life was lost, and this is a tragedy no matter how you look at it," Israel said.