COLUMBUS, Ohio -- A dispute over early-voting rules in swing state Ohio is playing out in a political spat between the two presidential campaigns and in a federal court battle.

At issue is the legality of an Ohio law cutting three days out of the early-voting period for everyone except members of the military and Ohio citizens living overseas.

The dispute reaches court Wednesday.

President Barack Obama's campaign says the lawsuit is its first filed anywhere for the 2012 election.

Democrats and the Obama campaign want the three days restored for everyone.

Military groups such as AMVETS have opposed the lawsuit out of concern for the precedent that could be set.

Republicans see a chance to drive a wedge between Obama and parts of the country where the military culture runs deep.

By ANN SANNER, Associated Press