Idaho (AP) – Idaho’s Constitution does not implicitly enshrine abortion as a fundamental right, the state Supreme Court ruled Thursday as it dismissed a series of lawsuits brought by Planned Parenthood.

The ruling was a blow against those who are fighting Idaho laws that took effect in August, including one criminalizing all abortions after six weeks of gestation except to save a pregnant person’s life or because of rape or incest.

“This is a dark day for the state of Idaho. But our fight is far from over,” Rebecca Gibron, CEO of Planned Parenthood Great Northwest, Hawaii, Indiana, Kentucky, said in a statement.

Planned Parenthood and a family physician brought three lawsuits against the governor and leaders of the Legislature in an effort to block new abortion bans. One of the laws allows the potential family members of a fetus to sue a health care professional who performs an abortion. Another made it a crime for medical professionals to perform an abortion after electrical activity is detected. And a third effectively banned all abortions but allowed doctors to defend themselves in court by proving that the abortion was done to save the life of their patient.

The Idaho Supreme Court heard arguments for all the lawsuits in a joint hearing last year. Thursday’s ruling applied to all three of the cases.