A state court judge struck down a Pennsylvania law requiring that voters to show photo identification at the polls.

Judge Bernard L. McGinley of Commonwealth Court said the requirement, which was the centerpiece of Pennsylvania’s 2012 voter identification law, placed an unreasonable burden people trying to exercise their fundamental right to vote, said the New York Times.

The decision is likely to be appealed to the Pennsylvania Supreme Court, said the Times.

During a 12-day trial last summer, challengers to the law said that hundreds of thousands of voters lacked acceptable identification and argued that the inconvenience of getting it might discourage some from voting. State officials insisted there were ample opportunities for voters to get valid identification, said the Times.