The Oklahoma Supreme Court definitively ruled Tuesday that a 2011 restrictive state abortion law is unconstitutional.

In answering questions posed by the U.S. Supreme Court, the court ruled that the law “restricts the long-respected medical discretion of physicians” and effectively bans all drug-induced abortions, according to the judge’s order.

The Center for Reproductive Rights raised a legal challenge that prompted a district court to strike down the law in 2012, a decision later upheld by the Oklahoma Supreme Court. In light of Tuesday’s ruling on the scope of the law, it is up to the U.S. Supreme Court whether to review the case.

On Monday, a federal judge ruled Texas’ new abortion restrictions unconstitutional on the grounds that the regulations violated physicians’ right to do what they think is best for patients and unreasonably restricted women’s access to abortion clinics.