In a late night order, a federal judge in Atlanta on Monday barred Georgia’s new secretary of state from certifying the results of Georgia’s midterm election on Wednesday and ordered a review of all rejected provisional ballots across the state.

Judge Amy Totenberg of the U.S. District Court for the Northern District of Georgia said in a 56-page order that plaintiff Common Cause Georgia “has shown a substantial likelihood” that then-Secretary of State Brian Kemp’s “failure to properly maintain a reliable and secure voter registration system has and will continue to result in the infringement of the rights of the voters to cast their vote and have their votes counted.”