TALLAHASSEE, Fla. (AP) - A federal judge is telling Florida that college campuses can be used for early voting sites in this year's elections.

U.S. District Judge Mark Walker ruled Tuesday that the state's ban on using college and university campuses for early voting sites is unconstitutional. The League of Women Voters of Florida and several college students sued Secretary of State Ken Detzner over the ban back in May.

Detzner in 2014 told officials in Gainesville that they could not use the University of Florida student union as an early voting location. He said the early voting law does not allow it. The state does allow voting on college campuses during Election Day.

Walker ruled, however, that Detzner's decision created a secondary class of voters and put a lopsided burden on students.

(Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)