The U.S. Supreme Court on Friday allowed a Texas abortion clinic to go forward with its challenge to the state’s ban on abortions after six weeks of pregnancy, but, in a divided vote, it dismissed a challenge brought by the Biden Justice Department against Texas.

The court, however, limited who could be sued by the clinic, Whole Woman’s Health, to four executive licensing officials who, under the Texas law, would take action against Whole Woman’s Health or its co-plaintiffs if they violated the law. State court judges and clerks, as well as Texas Attorney General Ken Paxton, cannot be sued, according to the justices.