Ruling is win for democracy advocates who have fought back against Trump’s push to take power over voting

The decision is a major legal setback for Trump in his efforts to use federal agencies to encourage a nationwide crackdown on noncitizens illegally on state voter rolls.

The judge said that use of the database risked disenfranchising eligible voters.