SPRINGFIELD, Ill. (NEXSTAR) — The Illinois House voted 64-52 on Wednesday night to alter the Health Care Right of Conscience Act to shield employers from civil suits if they enforce Coronavirus vaccine or testing mandates.

The Senate could send the measure to Governor J.B. Pritzker’s desk on Thursday. Attorney General Kwame Raoul (D-Illinois), who represents school districts and state agencies against lawsuits in court, was seen speaking with representatives moments before the debate began.

Several Republicans opposed the changes, arguing individuals should have rights to make health care decisions for themselves without being coerced by their employers.

The bill won’t take effect until June 1, 2022, but could still influence pending court cases.