A Pennsylvania county’s misbehavior in a dispute over voting machines prompted a stern warning from state justices and an ethics referral to the Pennsylvania Attorney Disciplinary Board.

The high court on Wednesday sanctioned Fulton County and its counsel, Thomas Carroll, for bogging down discovery and disobeying a court order, and the justices were clear on their message.