A federal judge in Wisconsin on Monday extended the state's cutoff day for absentee ballots to be counted in the presidential election.

Under current law, for an absentee ballot to be counted, it must be returned by 8 p.m. on Election Day, but U.S. District Judge William Conley ruled that absentee ballots can be counted up to six days after the Nov. 3 election. He also extended the deadline for mail and electronic voter registration from Oct. 14 to Oct. 21.

The Democratic National Committee, Democratic Party of Wisconsin, and other organizations sued to extend the deadline, citing the long lines and shortage of staffers during April's presidential primary. Conley paused the ruling from going into effect for one week, and Wisconsin Republican Party Chairman Andrew Hitt said the state GOP is determining next steps.

For the April primary, Conley extended the deadline to return absentee ballots for a week, and almost seven percent of all ballots cast came during that time, The Associated Press reports. The Wisconsin Elections Commission said that so far, more than one million absentee ballots have been requested for the Nov. 3 election, and the state expects as many as two million will be cast. Catherine Garcia