A federal judge dismissed a lawsuit against President TrumpDonald TrumpHeadaches intensify for Democrats in Florida Stormy Daniels set to testify against former lawyer Avenatti in fraud trial Cheney challenger wins Wyoming Republican activists' straw poll MORE from adult-film actress Stormy Daniels over a hush-money settlement on Thursday.
Central District of California Judge S. James Otero ruled that the suit was irrelevant after Trump and his former lawyer Michael CohenMichael Dean CohenStormy Daniels set to testify against former lawyer Avenatti in fraud trial Melania Trump announces new line of NFTs Michael Cohen to sell prison badge as NFT MORE agreed to rescind a nondisclosure agreement Daniels signed in exchange for a $130,000 payment, The Associated Press reported Thursday.
Daniels alleges that she had an affair with Trump in 2006 and was seeking to have the settlement declared illegal so that she could speak up about that affair without fear of financial penalties.
Trump has denied any affair with Daniels.
Cohen said he arranged the payment to silence Daniels to help Trump win the presidency in 2016.
That hush money payment is one of the reasons Cohen was sentenced last year to three years in jail for bank fraud and campaign finance violations.
Trump has repeatedly said he was not involved in the payment.
The Hill has reached out to the White House for comment.
Daniels' attorney Michael Avenatti claimed victory in a statement to the Hill.
"The Court found that Ms. Daniels received everything she asked for by way of the lawsuit - she won," he said.
Updated at 7:24 p.m.