MIAMI (CBSMiami) – Governor Rick Scott and the Republican-led Florida Legislature were rebuked by a federal judge Thursday for cutting early voting days.

Last year, the legislature cut the number of early voting days from 12 to 8, but the District Court for the District of Columbia said the changes will not be allowed in Collier, Hardee, Hendry, Hillsborough, and Monroe counties due to Section 5 of the Voting Rights Act of 1965.

Section 5 requires any election changes to be cleared by either federal officials or a federal court. The states or counties covered by Section 5 all have a history of discriminating against blacks, American Indians, Asian-Americans, Alaskan Natives, or Hispanics.

Three judges on the DC District Court said the reduction in early voting days in those counties “would make it materially more difficult for some minority voters to cast a ballot.” The ruling could also be used by the Justice Department against other Republican-led states that have tried to curb early voting.