WASHINGTON, Sept. 25 — With the 2008 presidential and Congressional elections on the horizon, the Supreme Court agreed today to consider whether voter-identification laws unfairly keep poor people and members of minority groups from going to the polls.

The justices will hear arguments from an Indiana case, in which a federal district judge and a panel of the United States Court of Appeals for the Seventh Circuit in January upheld a state law requiring, with certain exceptions, that someone wanting to vote in person in a primary or general election present a government-issued photo identification. Presumably, the court would rule on the case by June.

Before the law was enacted in 2005, an Indiana voter was required only to sign a book at the polling place, where a photocopy of the voter’s signature was kept on file.

Voter-identification requirements have divided Democrats and Republicans, and the courts, for years. In July, the Michigan Supreme Court upheld that state’s identification law. A month earlier, the Georgia high court threw out a challenge to that state’s identification law. But last year, the Missouri Supreme Court overturned a state voter-identification statute. Other states are considering various identification statutes.