A Republican-controlled county in Pennsylvania violated state law when election workers refused to tell voters that their mail-in ballot had been rejected and wouldn't be counted in last April's primary election, a judge ruled.

As a result, voters in Washington County were unable to exercise their legal right either to challenge the decision of the county elections board or to cast a provisional ballot in place of the rejected mail-in ballot, the judge said.