A Pennsylvania court is giving Gov. Tom Wolf's administration 30 days to produce copies of more emails sent or received by Katie McGinty when she was his chief of staff, before she ran for U.S. Senate.

The Commonwealth Court's order Friday upholds a decision by the Office of Open Records in favor of a state Republican Party official. The original request was made last summer when McGinty was preparing to run.

She's challenging Republican U.S. Sen. Pat Toomey in the Nov. 8 election.

Wolf's administration says it withheld some emails because they fell under exemptions shielding personal emails or deliberations leading up to an official decision.

But the Office of Open Records said the administration hadn't sufficiently proven that the records should be exempt. Wolf's administration isn't saying whether it will appeal.