GREENVILLE, S.C. — South Carolina Gov. Henry McMaster signed a newly minted six-week abortion ban Thursday behind closed doors, triggering a new battle for abortion access in the state as the U.S. South faces a wave of severe restrictions to the care.

The state’s new ban prohibits abortions after about six weeks of pregnancy, which the law says is when a fetal heartbeat can be detected. The ban will go into effect immediately.

“With my signature, the Fetal Heartbeat and Protection from Abortion Act is now law and will begin saving the lives of unborn children immediately,” McMaster, a Republican, said in a news release. “This is a great day for life in South Carolina, but the fight is not over. We stand ready to defend this legislation against any challenges and are confident we will succeed. The right to life must be preserved, and we will do everything we can to protect it.”

Media was not invited and only a couple of lawmakers stood around McMaster as he finalized the bill’s passage. Hours after the law came into effect, doctors associated with Planned Parenthood, Greenville Women’s Clinic and Center for Reproductive Rights filed a lawsuit in state court.

South Carolina joins a growing number of states limiting abortion care. Since last year’s Supreme Court ruling overturning Roe V. Wade, states across the South have seen a sweep of abortion restrictions introduced and approved by Republican lawmakers.

Abortion bans throughout pregnancy have already been passed in Alabama, Arkansas, Kentucky, Louisiana, Mississippi, Oklahoma, Tennessee, Texas, and West Virginia. In Georgia, it’s allowed only in the first six weeks.

Indiana abortion hearing case:Final hearing for Indiana doctor who reported Ohio 10-year-old’s abortion focuses on patient privacy

South Carolina faces immediate legal challenges

Challengers to South Carolina’s law said it is identical to the 2021 Fetal Heartbeat law, which was thrown out by the South Carolina Supreme Court in January. The majority ruling, authored by former Justice Kaye Hearn—the only woman on the bench, ruled that the state had violated privacy rights enshrined in the state constitution.