A Pennsylvania state court on Tuesday rejected the latest Republican effort to throw out the presidential battleground state's broad mail-in voting law that has become a GOP target following former President Donald Trump’s baseless claims about election fraud.

It is the latest of several refusals by a state court to invalidate Pennsylvania's 2019 mail-in voting law, enacted barely months before the COVID-19 pandemic began and Trump began attacking mail-in voting.

In the lawsuit filed last year, 14 current and former Republican state lawmakers contended that the court must invalidate the law because two earlier court decisions triggered a provision written into it that says it is "void" if any of its requirements are struck down in court.

NEW YORK JUDGE RULES VOTING BY MAIL DUE TO COVID FEARS IS UNCONSTITUTIONAL

Those decisions, they argued, refused to enforce a requirement that a voter handwrite a date on the outer envelope of their mail-in ballot if the ballot is to be counted.

Voter fills out his mail-in ballot

Voters fill out mail-in ballots at the Board of Elections office on Nov. 3, 2022, in Pittsburgh, Pennsylvania. A state court rejected to overturn the mail-in voting law on June 27, 2023. (Jeff Swensen/Getty Images)

But the Commonwealth Court, in a 24-page opinion, unanimously found that the court decisions did not invalidate "the dating provision" of the law. It dismissed the lawsuit, in favor of Gov. Josh Shapiro's administration and the national and state Democratic parties.

NEW JERSEY MAIL-IN VOTING: WHAT TO KNOW

Greg Teufel, the lawyer for the 14 Republican lawmakers, said he expects to appeal to the state Supreme Court, which has twice upheld the mail-in voting law against previous Republican-backed challenges.

In an interview, Teufel said he disagreed with the court's rationale, saying that the court is ignoring the plain language of the law.

CLICK TO GET THE FOX NEWS APP

"They’re sidestepping a critical issue, just pretending they don’t see it," Teufel said.