A judge in Western New York wrongly revoked a gun owner’s pistol permit after the man was acquitted of a menacing charge, an appellate court has held.

The Appellate Division, Fourth Department, said Monroe County Judge Douglas Randall’s determination was “arbitrary and capricious” since the petitioner was acquitted and “the record from the hearing is devoid of any evidence upon which respondent could have based his determination.”