Part of President Donald Trump‘s legal strategy to challenge the results of the presidential election was rebuffed by a Pennsylvania judge on Tuesday.

A court filing said Marc Scaringi, an attorney and conservative radio host, would take over the Trump campaign’s lawsuit attempting to block the certification of Pennsylvania’s results. The move came just hours before an important hearing Tuesday afternoon on motions by state and county officials to dismiss the lawsuit.

Scaringi had asked U.S. District Court Judge Matthew Brann to postpone the hearing, arguing he did not have sufficient time to prepare.

“Scaringi is aware of the schedule set by the Court in this matter and will be prepared to proceed according to that schedule,” Brann wrote. “Having only been retained today, Plaintiffs’ new counsel need additional time to adequately prepare this case for the upcoming oral argument and evidentiary hearing. Furthermore, this is a case of significant complexity and importance to the people of the United States of America.”

Brann ultimately did not rule on Tuesday. He canceled a Thursday hearing to air the Trump campaigns evidence and instead gave the parties three more days to file arguments.

However, the legal battle has attracted Republican lawyers from all over the country as the Trump campaign continues to push unproven allegations of widespread voter fraud.

Former New York City Mayor Rudy Giuliani appeared in court Tuesday as well, claiming “they stole the election.”

“The best description of this situation is widespread, nationwide voter fraud, of which this is a part…. This is not an isolated case, this is a case that is repeated in at least 10 other jurisdictions,” Giuliani said, without providing any evidence.

Giuliani later admitted to the court that the case was not about “fraud.” Lawyers can lose their law licenses if they lie before a judge.

Brann, an appointee of President Barack Obama, expressed doubt that preventing voters from correcting mistakes they made on mail-in ballots in some counties was reason to block the certification.

“How does making it easier for some people to vote burden the plaintiffs right to vote?” Brann asked.

Monday is the last day for Pennsylvania to certify its election results — which shows Trump losing by about a 1.2% margin.