A county judge in Indiana issued a preliminary injunction Thursday that brings a temporary halt to Indiana’s abortion ban, one of the more restrictive in the nation.

Special Judge Kelsey B. Hanlon wrote in her ruling that although abortion was not legal at the time that the Indiana Constitution was written, language contained in the document suggest that there is “a reasonable likelihood” that decisions about family planning ― including whether to carry a pregnancy to term ― are protected.

Republican Attorney General Todd Rokita said his office plans to appeal the decision.

“Our office remains determined to fight for the lives of the unborn, and this law provides a reasonable way to begin doing that,” Rokita said in a statement.

Hanlon’s ruling came after the American Civil Liberties Union, Planned Parenthood of Indiana, clinics that provide abortion and providers brought the suit against the state in the wake of Senate Bill 1, which banned abortions in the state except in certain case of rape or incest, a serious risk to the life of the mother, or fatal fetal anomalies.

In a joint statement, plaintiffs in the case welcomed the decision but said that this is just one step along a long road to protect abortion rights.

“We knew this ban would cause irreparable harm to Hoosiers, and in just a single week, it has done just that,” the joint statement read. “We are grateful that the court granted much needed relief for patients, clients, and providers but this fight is far from over. “

The abortion law, which went into effect Sept. 15 after being signed into law by Gov. Eric Holcomb in August, only allowed abortions in order to prevent a serious health risk or death of the mother, when the pregnancy is a result of rape or incest up to 10 weeks post fertilization or when the fetus has been determined to have a fatal anomaly up to 20 weeks.