HARRISBURG, Pa. (AP) — A federal judge in Pennsylvania is throwing out a lawsuit filed by President Donald Trump’s campaign, dismissing its challenges to the battleground state’s poll-watching law and its efforts to limit how mail-in ballots can be collected and which of them can be counted.

Trump’s campaign said it would appeal at least one element of Saturday's ruling by U.S. District Judge J. Nicholas Ranjan, with barely three weeks to go until Election Day in a state hotly contested by Trump and Democratic presidential nominee Joe Biden.

The lawsuit was opposed by the administration of Gov. Tom Wolf, a Democrat, and the state Democratic Party.

MUST SEE: The Worst Reviews of Wyoming from Awful Tourists