Pennsylvania counties rushed Monday to certify results from the Nov. 3 election, even as President Donald Trump and his Republican allies continued to press their increasingly long-shot effort in court to stop the state from finalizing the vote tally declaring Joe Biden the victor.

As county boards of elections convened for what is normally little more than sleepy formality, the impact of the president’s push to undermine public trust in the integrity of the vote repeatedly surfaced.

In at least three of the state’s most populous counties — Montgomery, Allegheny and Luzerne — boards split their votes along party lines. And in several others, speakers at public meetings urged elections administrators to reject the results, echoing baseless conspiracy theories of widespread fraud and malfunctioning voting machines that Trump has propagated in recent weeks.

Still, the vast majority of certification votes — including those in Philadelphia, Bucks and Chester Counties — proceeded Monday with unanimous, bipartisan support. And there were no reports of county boards voting against certification, even as they faced scrutiny that elections administrators described as like nothing they had ever seen before.

People were “panicked about the result, regardless of which side they’re on,” said Lisa Deeley, chair of Philadelphia’s elections board, describing this year’s increased interest in the certification process. “People were just being inundated with misinformation for so many months.”

Before the board members in Delaware County cast their votes Monday, county elections staff recounted threats and harassment they endured from skeptics while preparing the final tally. And board chair Gerald Lawrence, a Democrat, swatted away complaints from the public about a frequent Trump target — Dominion Voting Systems — noting the county did not use the company’s voting machines.

“I understand that people have strong feelings about this and I understand that people get information from various sources, but I personally have faith in the process,” he said, moments before all three members of his panel voted to approve certification.

As she addressed the Montgomery County elections board Monday, Kaitlin Destine, of Telford, repeated Trump’s false claims that GOP monitors had been excluded from watching the counting of votes there.

“To hear that poll watchers, specifically Republicans, were not allowed to view these mail ballots, it’s just a fraud,” she said. “It’s against the constitutional rights to a free and fair election.”

Joe Gale, the board’s Republican vice chair, cast the Montgomery County board’s lone vote against certification Monday.

“There is no way to verify the authenticity of one half of the votes cast this year,” he said, making unsupported claims that mail ballots could not be trusted. “I believe the U.S. Supreme Court should review the travesty that has happened this year in Pennsylvania.”

Certification votes in Allegheny and Luzerne Counties — the latter of which Trump carried by 14 points — ultimately passed Monday morning but were also marked by partisan division.

Such debate is rare when it comes to the typically routine procedure of a board endorsing its county’s final results, said Kevin Greenberg, a Democrat election lawyer. But after Trump’s reported attempt last week to interfere with certification votes in Michigan’s Wayne County, home to Detroit, by personally contacting officials and encouraging them to block the vote, interest in the process in Pennsylvania has run high.

“I’ve never seen this much focus on something that is a purely ministerial act,” said Greenberg. “These counties have already counted the ballots. They know how many there are. There’s no right under any statute for them to just refuse to send those numbers. … It would be like a high school at the end of four years, after students have passed all their tests and all their grades have been submitted, simply refusing to print a transcript for that student. "

State law required all 67 of Pennsylvania’s counties to certify their results within 20 days of the election, in this case by Monday, so the Department of State can finalize the statewide returns. Some counties, including Monroe and Mercer, certified results last week.

At least two counties — Berks and Carbon — indicated they would not meet that deadline, citing various procedural roadblocks that would postpone final numbers for days, public radio station WITF reported. Officials in Schuylkill and Westmoreland counties also initially told the station that their certification would be delayed, only to ultimately meet the deadline by Monday evening.

But as Pennsylvania moved swiftly toward officially declaring Biden its victor by some 81,000 votes, Trump and his legal team scrambled in their efforts to avert it, saying that even if the state moved ahead they would pursue court orders seeking decertification.

“Certification by state officials is simply a procedural step,” Trump campaign legal adviser Jenna Ellis said.

The president’s lawyers turned to the U.S. Court of Appeals for the Third Circuit, asking it to review a scathing ruling this weekend from a federal judge, who dismissed the campaign’s case, calling it a “Frankenstein’s monster” of claims that would effectively disenfranchise all of the state’s 6.8 million voters.

In filings Monday, the campaign insisted it did not want to invalidate all ballots cast in the state, just mail ballots in seven Democratic-leaning counties including Philadelphia and its suburbs, where they have alleged with no evidence that those votes were purposefully mishandled to give Biden an edge.

The appellate court did not indicate whether it intended to hear arguments on the matter, but said it would expedite its ultimate decision given the state’s looming deadlines.

Meanwhile, last-minute rulings by the Pennsylvania Supreme Court resolved questions still lingering around other disputed pools of votes in Philadelphia, Allegheny, and Bucks Counties. The justices rejected a Trump campaign effort to disqualify thousands of ballots in each that were submitted without required dates, handwritten addresses, or the printed names of voters.

While the state election code requires voters to fill out each of those elements, Justice Christine Donohue, writing for the majority, said the absence of just one “does not warrant the wholesale disenfranchisement of thousands of Pennsylvania voters” who had otherwise made a good-faith effort to ensure their votes would be counted.

That cleared the way for Philadelphia’s elections administrators to include 8,300 previously disputed mail ballots in the certified tally they approved Monday night.

“Nothing stopped it despite an avalanche of lawsuits and lies,” said City Commissioner Al Schmidt, a Republican, who has received threats for his statements vouching for the integrity of the process in Philadelphia.

Of the four Pennsylvania counties that indicated their certifications would be delayed, only Westmoreland told WITF that it would not be able to complete the process until next week.

It’s not unheard of for counties to miss the certification deadline. In both 2012 and 2016, for example, Philadelphia sent in its final tallies several days late. Nothing came of the missed deadline, and the state certification took place later without incident.

While there are no hard legal deadlines for when the state as a whole has to certify its results, there are some practical ones.

The legislative session ends Nov. 30, meaning all 203 representatives in the state House of Representatives and half of the 50 state senators will officially end their terms next Monday. Lawmakers can’t be seated in districts where the results haven’t been certified, since there’s no official winner yet.

For the presidential election, the state has until Dec. 8, what’s known as the federal “safe harbor” deadline, to officially name its 20 electors to the electoral college, who meet Dec. 14.

Elections administrators expressed confidence that they’d be able to meet that deadline.

UPDATE: This story has been updated to reflect certification votes in Schuylkill and Westmoreland counties.