The Biden administration’s vaccine mandate for health care workers will go into effect nationally, ruled a 5-4 U.S. Supreme Court on Thursday, but the court, in a separate 6-3 vote, blocked the vaccine-or-test requirement for large employers.

The justices’s rulings came just days after they heard more than three hours of arguments on two sets of emergency applications. In one set, the administration asked the high court to lift injunctions halting the vaccine rule for health care workers in facilities receiving Medicare and Medicaid funding, and in the other, a group of businesses and 27 Republican-led states wanted the court to order a stop to the employer rule while appeals proceeded in the lower courts.