The bill would have kept colleges and universities that receive state money from mandating proof of COVID-19 vaccination to enter buildings, attend class in person or undertake any activity.

HARRISBURG, Pa. (AP) — A Republican-crafted bill to ban so-called COVID-19 “vaccine passports” in some cases and to restrict the health secretary’s actions during health emergencies was vetoed Thursday by Pennsylvania’s Democratic governor.

The measure split both legislative chambers along party lines last month, and Gov. Tom Wolf had previously said he would veto the proposal.

READ MORE: Allegheny County Health Director Says Delta Variant Is Fueling Rising Cases, Hospitalizations

With millions of Pennsylvanians still unvaccinated, many seemingly intent on remaining so, legislative Republicans wanted to prevent what they view as stigmatizing policies that require proof of vaccination in violation of health privacy.

The bill would have kept colleges and universities that receive state money from mandating proof of COVID-19 vaccination to enter buildings, attend class in person or undertake any activity. State and local governmental entities would have been similarly restricted, and governments would not have been allowed to include coronavirus vaccine status on ID cards.

READ MORE: 'Itchy Mites:' Preventing Bites And The Itch That Comes With A Mite Bite

It also would have kept the health secretary from ordering closures or directing people who have not been exposed to a contagion to physically distance, wear a mask, quarantine or restrict their travel. The Wolf administration believes the bill, if passed, would have applied to all cases, not just during the current pandemic.

Wolf also vetoed a bill to let judges hire private collection agencies to pursue overdue court fines and costs.

MORE NEWS: Pittsburgh Weather: Temperatures Continue Rising On Thursday

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)