MIAMI -

A Miami-Dade appeals court has agreed with a man's claim of immunity under Florida's "stand your ground" law in the 2008 killings of two men outside a restaurant.

In a decision Thursday, the court ordered that murder charges against Gabriel Mobley be dismissed. Third District Court of Appeals Judge Linda Ann Wells wrote in the 2-1 opinion that Mobley acted reasonably because the slain men were the aggressors even though they were unarmed.

The shootings happened after an argument in which one of Mobley's friends was punched. Mobley testified that he was frightened and thought one man had a weapon.

Miami-Dade prosecutors tell The Miami Herald (http://hrld.us/1g4t6Fg) that they will appeal the ruling.

The "stand your ground" law came under intense scrutiny in the shooting death of teenager Trayvon Martin.