A gunman opened fire Tuesday at an Arkansas courthouse, wounding the secretary of the judge he went to see and frightening court workers who scrambled for cover. He died hours later after a struggle with authorities.

The man was later identified as James Ray Palmer, 48, of Kibler, Ark., said police Sgt. Daniel Grubbs, whose department was assisting Van Buren, Ark., police.