Hearing date set for Trump showdown with Stormy Daniels
Porn star Stormy Daniels (R) is suing to dissolve an agreement that prevents her from discussing an affair she claims to have had with US President Donald Trump (AFP Photo/MANDEL NGAN, Ethan Miller)

Porn star Stormy Daniels will go to court on July 12 in a bid to dissolve an agreement stopping her discussing an affair she says she had with President Donald Trump, according to court papers published Wednesday.

Lawyer Michael Avenatti filed a lawsuit on behalf of Daniels last week seeking to toss out the confidential settlement she signed just days before the November 2016 election.

The lawsuit alleges that Daniels, whose real name is Stephanie Clifford, began an "intimate relationship" with Trump in the summer of 2006 that continued well into 2007.

She has offered to return the $130,000 she received so that she can be free to "speak openly and freely about her prior relationship with the president and the attempts to silence her."

Daniels is also asking to be allowed to publish text messages, photos and videos relating to the president, Avenatti said in a letter to Trump's lawyer Michael Cohen.

"I think it's time for her to tell her story and for the public to decide who's telling the truth," Avenatti said last week.

A copy of the settlement filed in court shows that Daniels received the $130,000 from a company known as Essential Consultants LLC in return for her silence.

Using the pseudonyms Peggy Peterson and David Dennison, Daniels and Trump were to sign the agreement, along with Essential Consultants.

But Trump never signed, providing the basis for Avenatti's attempt to have it thrown out and release Daniels from her obligations.

Daniels is asking for presiding judge Elizabeth Feffer to be replaced, arguing that she has a conflict of interest because she is seeking an appointment to a seat in federal court.

The White House has denied any sexual encounter between Trump and Daniels.