Story highlights An Ohio county judge ruled Friday that 17-year-olds will be allowed to vote in Tuesday's primaries, a victory for Bernie Sanders' campaign

Ruling applies to all election boards in the state and orders them to accommodate 17-year-olds Tuesday

Husted's office says there's not enough time to appeal the ruling

Washington (CNN) An Ohio county judge ruled Friday that 17-year-olds will be allowed to vote in Tuesday's primaries, a victory for Bernie Sanders' campaign.

Franklin County Judge Richard Frye determined that Ohio Secretary of State Jon Husted, a Republican, erred when he ordered that Ohioans who are currently 17 but will be 18 on election day in November not be allowed to vote in the presidential primaries.

Husted's office said he opposes the ruling but will not appeal it, citing a lack of time. Frye's ruling applies to all election boards in the state and orders them to accommodate 17-year-olds Tuesday.

The controversy began in December, when Husted issued an election manual that said 17-year-olds couldn't vote in the presidential primary. But opponents have argued that since 1981, Ohio election law has allowed them to participate.

Frye's decision addresses a suit that is separate from the federal challenge Sanders' campaign filed this week , but it amounts to an immediate victory for the Vermont senator, who has benefited from strong support among younger voters.

Read More