Stormy Daniels’ lawyer, Michael Avenatti slammed an offer by Michael Cohen’s company to drop a hush-money agreement as a “stunt” to keep President Donald Trump from providing testimony.

Avenatti has repeatedly vowed to get Trump’s testimony under oath and claims he does not have to accept an offer from a company set up by Cohen to rescind the nondisclosure agreement with Daniels, whose real name is Stephanie Clifford, Fox News reported.

Daniels was suing to invalidate the 2016 agreement pertaining to an alleged affair between the porn star and Trump in 2006, which the president has denied ever happened.

On Friday, the company set up by Trump’s former personal attorney filed a notice in U.S. District Court offering to cancel the nondisclosure agreement and drop a planned $20 million lawsuit against Daniels, according to Fox News.

The company, Essential Consultants, wants Daniels to repay the $130,000 she was paid as part of the agreement and promises to then drop plans to fight her in private arbitration.

“Today Essential Consultants LLC and Michael Cohen have effectively put an end to the lawsuits filed against them by Stephanie Clifford aka Stormy Daniels,” Brent Blakely, Cohen’s lawyer, said in a statement to ABC News. “The rescission of the Confidential Settlement Agreement will result in Ms. Clifford returning to Essential Consultants the $130,000 she received in consideration, as required by California law.”

But Avenatti believes the agreement should be invalidated because it violated campaign finance laws. Meanwhile Cohen, who pleaded guilty last month to eight felonies — including violating campaign finance law by negotiating the Daniels agreement – sees the latest offer as reason for the court to dismiss the contract dispute case since it will no longer be relevant.

“It won’t work for a host a reasons, starting with Trump has not agreed to anything,” Avenatti told ABC News Friday.

He also slammed Cohen for “playing games” by “pulling a legal stunt.”

Michael Cohen is back to playing games and trying to protect Donald Trump. He is now pulling a legal stunt to try and “fix it” so that we can’t depose Trump and present evidence to the American people about what happened. He is not a hero nor a patriot. He deserves what he gets. — Michael Avenatti (@MichaelAvenatti) September 8, 2018

He also tweeted that he “will never settle” without “full disclosure and accountability.”

Let me be clear – my client and I will never settle the cases absent full disclosure and accountability. We are committed to the truth. And we are committed to delivering it to the American people. #Basta — Michael Avenatti (@MichaelAvenatti) September 8, 2018

“I would be prepared to sit across from the president and take his deposition on 48-hours’ notice,” Avenatti told ABC News. “I would literally take that deposition anywhere in the world.”

A hearing on how the parties plan to proceed in the case is scheduled for Sept. 24.