PROVIDENCE, R.I. (WPRI) — A Superior Court judge on Friday reluctantly granted a stay sought by the state as officials work to settle a costly lawsuit that one their lawyers failed to appeal on time.

Attorneys for the state made the request in hopes of giving the Rhode Island Supreme Court more time to consider the case. They asked the high court for review earlier in the week.

“The circumstances of this case have been laid out in excruciating detail already and the court is aware of them. The purpose of a stay at this point is to maintain status quo.” state attorney Lauren Jones said.

During a morning hearing, Superior Court Judge Jeffrey Lanphear questioned whether he had jurisdiction to even make a decision on the request, since the issue is now before the Supreme Court.

State lawyers said they believe Lanphear did have that jurisdiction, citing previous Supreme Court cases, and after much back and forth the judge sided with the state, granting a stay until the close of business on June 13.

An attorney for the nursing homes opposed the stay, saying the case should be closed since the deadline was missed.

“Once that watershed date passed and the judgment became final, this court no longer had jurisdiction to act in this matter,” attorney Justin Shay said.

The bungled litigation involves a suit brought by 59 state nursing homes challenging a Medicaid rate cut by the R.I. Executive Office of Health and Human Services. A win for the nursing homes would cost $24 million through June 2019, officials estimate. Greg Hazian, a state lawyer who has since resigned, missed the deadline to appeal the case, though state lawyers are still attempting to do so.

The offices of the governor, the House speaker and the Senate president have put together a group trying to seek a resolution to the suit. The moves comes as lawmakers are working to put the finishing touches on the 2018-19 state budget, which is scheduled to be released later Friday and could be affected by the outcome.