The Supreme Court cleared the way Thursday for New Hampshire to fully ban the use of student IDs for voting during the midterm elections.

The justices granted a Republican-backed emergency appeal and blocked the use of student IDs as a backup method of identification.

The Supreme Court cited a longstanding legal principle that judges shouldn't change voting rules too close to Election Day.