DOYLESTOWN, Pa. (AP) — The Supreme Court on Friday rejected an emergency appeal from Republicans that could have led to thousands of provisional ballots not being counted in Pennsylvania. The justices left in place a state Supreme Court ruling that elections officials must count provisional ballots cast by voters whose mail-in ballots were rejected.

As of Thursday, about 9,000 ballots out of more than 1.6 million returned have arrived at elections offices around Pennsylvania lacking a secrecy envelope, a signature or a date, according to state records. Pennsylvania is the biggest presidential election battleground this year, with 19 electoral votes.

Former President Donald Trump won the state in 2016, then lost it in 2020. THIS IS A BREAKING NEWS UPDATE. AP’s earlier story follows below.

DOYLESTOWN, Pa. (AP) — Voters in a bellwether suburban Philadelphia county courted heavily by the presidential candidates had their last chance Friday to apply for a mail-in ballot , as a county clear across the state gave voters who didn't receive their mail-in ballot another chance to get one. A judge in Erie County, in Pennsylvania's northwestern corner, ruled Friday in a lawsuit brought by the Democratic Party that about 15,000 people who applied for a mail ballot but didn't receive it may go to the county elections office and get a replacement through Monday.

The deadline to apply for a mail-in ballot has passed in Pennsylvania, the biggest presidential battleground this year and a.