The scourge of a global pandemic produced an election season like no other in the U.S., persuading record numbers of Americans to cast their ballots early, forcing states to make changes to long-established election procedures and leading to hundreds of lawsuits over how votes will be cast and which ballots will be counted.

Polls began opening Tuesday as election officials warned that millions of absentee ballots could slow the tallies, perhaps for days, in some key battleground states and as President Donald Trump threatened legal action to prevent ballots from being counted after Election Day.

Amid the tumult, tens of millions of Americans heeded warnings to act early, prompted by concerns over Postal Service delays and worries about the virus spreading through crowded polling places.

“Come hell or high water,” said Kristen Clarke, executive director of the Lawyers' Committee for Civil Rights Under Law. “It feels like that has been the attitude voters have needed to make sure their voices are heard this year.”

At least 98.8 million people voted before Election Day, about 71% of the nearly 139 million ballots cast during the 2016 presidential election, according to data collected by The Associated Press. Given that a few states, including Texas, had already exceeded their total 2016 vote count, experts were predicting record turnout this year.

Those yet to vote headed to polling places Tuesday despite another spike in COVID-19 cases that has hit much of the country. Democrat Joe Biden’s campaign had emphasized early voting due to the pandemic. Among those braving the polls were voters who may have wanted to vote by mail but waited too long to request a ballot or those who didn’t receive their ballots in time.

Others were likely persuaded by the president’s rhetoric attacking mail voting or simply preferred to vote in person. With Democrats dominating the early vote, Republicans were expected to comprise a large share of Tuesday’s voting.

In the months leading up to Election Day, election officials had to deal with a pandemic that has infected more than 9 million Americans and killed more than 231,000, forcing them to make systemic changes largely on the fly and mostly without federal money. Meanwhile, Trump repeatedly sought to undermine the election with unsubstantiated claims of widespread voter fraud.

He has particularly targeted the crucial battleground state of Pennsylvania, after the U.S. Supreme Court allowed — at least for now — a three-day extension for receiving and counting absentee ballots. Over the weekend, Trump said that as soon as the polls close there on Tuesday, “We’re going in with our lawyers.”

Misinformation about election procedures, concerns about confrontations at the polls and reports of mail slowdowns also clouded the run-up to Election Day.

“The eyes of the American public and the world are on election officials as we administer free and fair elections during this unprecedented time,” said New Mexico Secretary of State Maggie Toulouse Oliver, who also is president of the National Association of Secretaries of State. “Rest assured, we are ready. We have coordinated with all levels of government and are in constant communication to ensure a smooth election.”

The group has been working with the National Association of State Election Directors to help states hammer out plans for protecting against foreign and domestic cyberattacks, countering misinformation and strengthening an election infrastructure tested by massive early voting and pandemic precautions.

Election officials across some 10,000 voting jurisdictions scrambled to purchase personal protective equipment, find larger polling places, replace veteran poll workers who opted to sit out this year’s election due to health concerns and add temporary workers to deal with the avalanche of mail ballots.

Most states, even ones with broad mask mandates, stopped short of forcing voters to wear them at the polls. Instead, they urged voters to don masks while providing options for those who refused.