With fewer than 10 clinics now open in Texas, women in large parts of the state may no longer be able to terminate pregnancies or may be forced to travel long distances to obtain abortions, having them later in their pregnancies and incurring greater expenses, abortion-rights advocates said Friday.

“It’s devastating to go from over 40 abortion clinics to less than 10 in three years,” said Elizabeth Nash, an associate at Guttmacher Institute, a nonprofit group focused on reproductive health and rights.

After an appeals court on Thursday upheld a state law that abortion clinics must meet the standards of “hospital-style surgical centers” and that physicians must have admission privileges at a nearby hospital, about a dozen clinics closed overnight, leaving just seven or eight operational in Texas.

But anti-abortion groups welcomed the ruling.

“We’re very excited about this decision, and we’re not the only ones who feel this way,” said Emily Horne, a legislative associate at Texas Right to Life, a group that fights for the “rights of the unborn.”