The Wisconsin Democratic Party and the Democratic National Committee on Wednesday sued Wisconsin elections officials, demanding that the deadline for online voter registration and vote by mail applications be extended beyond midnight on Wednesday.

The lawsuit came as states around the country are scrambling to safely hold primary elections during the coronavirus outbreak. Five states so far have postponed their primaries, and Wyoming has canceled its in-person caucuses, opting to conduct its presidential nominating contest wholly by mail.

But the Wisconsin primary, scheduled for April 7, includes numerous state, local and municipal elections that would be more difficult to reschedule than just a presidential primary, because some involve a transfer of executive power. There is also an election for a State Supreme Court justice.

Wisconsin’s elections are governed by the bipartisan Wisconsin Elections Commission, which operates separately from the governor.