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

Broward Circuit Judge Michael Usan ruled in favor of suspended Deputy Peter Peraza, who sought dismissal of the case under the state’s stand your ground self-defense law that eliminates a requirement to retreat when facing a dire threat.