With a little more than 24 hours before Florida's voter registration deadline, the state's federal court ruled to extend the deadline Monday.
The final day Floridians can register to vote is now Wednesday at 5 p.m.
The Florida Democratic Party filed suit late Sunday to try to force state officials to extend the deadline for up to a week to allow residents who fled Hurricane Matthew to continue registering.
Governor Rick Scott had refused to allow more time.
Thousands of Floridians fled areas threatened by the storm, and at least a half a dozen deaths in the state have been blamed on Matthew and its aftermath.
The party argued in its lawsuit that minority voters are more likely to register closer to the election, and that voters in parts of the state untouched by Hurricane Matthew will face fewer obstacles to signing up.