Judge S. James Otero did not rule in U.S. District Court, but he seemed to agree with lawyers for the president and Michael Cohen that there were no longer grounds for a lawsuit.

“It seems you’ve achieved … what you sought to achieve,” Otero said to Daniels’ attorney.

If Otero does throw out the case, it would give both sides a chance to claim victory.

The case would allow Daniels to speak without threat of legal consequences, but it would also prevent further litigation she has sought to force the president and Cohen to give sworn testimony.