The conservative majority on the U.S. Supreme Court on Wednesday appeared to be searching for a way to uphold Mississippi’s ban on abortions after 15 weeks of pregnancy but without an outright or obvious overruling of the landmark abortion rights decisions in Roe v. Wade and Planned Parenthood v. Casey.

In more than two hours of arguments in Dobbs v. Jackson Women’s Health Organizations, the justices divided along ideological lines in their questioning, with the conservative wing probing most deeply the challengers to the Mississippi ban, and the liberal wing pressing the state’s attorney.