President Donald Trump took a victory lap Tuesday after his win in a defamation lawsuit, insulting porn star Stormy Daniels by calling her 'Horseface' and vowing to sue '3rd rate lawyer' Michael Avenatti.

But Daniels wasn't cowed, reaffirming her claim to have had an affair with him and suggesting that if she is 'Horseface' then the president has a penchant 'for bestiality.'

Trump was widely accused of misogyny for his description of Daniels - but shrugged that off later in the day, telling the Associated Press 'you can take it any way you want', when asked if it was appropriate to insult a woman's appearance.

Trump went after his prominent adversaries Tuesday after a Los Angeles court ruled in his favor in a defamation lawsuit the former porn star filed against him – and threatened to take the legal fight to them on new turf.

'Federal Judge throws out Stormy Daniels lawsuit versus Trump. Trump is entitled to full legal fees,' Trump's tweet began, tagging his favorite network, @FoxNews.

'Great, now I can go after Horseface and her 3rd rate lawyer in the Great State of Texas. She will confirm the letter she signed! She knows nothing about me, a total con!' Trump wrote.

Porn star Stormy Daniels alleges she had an affair with Trump in 2006. President Donald Trump called her 'horseface' in a new tweet

'Great, now I can go after Horseface and her 3rd rate lawyer in the Great State of Texas,' wrote President Donald Trump on Twitter

It didn't take long for Daniels to respond, bringing up a claim about the president's anatomy that she made in her book – and lodging a charge of 'bestiality.'

'Ladies and Gentlemen, may I present your president. In addition to his...umm...shortcomings, he has demonstrated his incompetence, hatred of women and lack of self control on Twitter AGAIN! And perhaps a penchant for bestiality. Game on, Tiny,' she wrote.

Avenatti, who gained national prominence representing Daniels' effort to get out of a non-disclosure agreement she inked with Trump lawyer Michael Cohen – and who is floating a 2020 run for president – shot back immediately with his own attacks.

'You are a disgusting misogynist and an embarrassment to the United States. Bring everything you have, because we are going to demonstrate to the world what a complete shyster and liar you are,' Avenatti wrote Trump.

'How many other women did you cheat on your wife with while you had a baby at home?' he added.

Trump said he would pursue legal action in Texas, which has protections against frivolous lawsuits

Daniels referred to the president as 'Tiny' and said he perhaps had a 'penchant for bestiality' after the 'Horseface' comment

Daniels' attorney Michael Avenatti responded by calling Trump a 'disgusting misogynist'

Trump said he would pursue legal action in Texas, which has protections against frivolous lawsuits, following his victory in a California court.

His statement that 'she will confirm the letter she signed!' is a likely reference to the non-disclosure agreement she reached with Cohen, Trump's longtime lawyer who pleaded guilty to tax and fraud charges. Both parties signed the agreement using pseudonyms, while a line left for Trump using a pseudonym was not signed.

Trump did not explain his 'Horseface' insult of the woman who claims had a sexual affair with him at a celebrity golf tournament in 2006.

Daniels, whose real name is Stephanie Clifford, competes in equestrian events both under her real name and under the name Stormy Crain.

Trump escalated the spat during a period when he has been dominating the airwaves and sucking the political oxygen away from congressional races in the final weeks before the midterm elections.

His administration is also under fire for close ties to Saudi Arabia and Crown Prince Muhammad bin Salman following the alleged murder of Saudi dissident and recent Virginia resident Jamal Khashoggi.

A U.S. judge on Monday dismissed adult film actress Stormy Daniels's defamation lawsuit against President Donald Trump and ordered her to pay his attorney's fees, saying a tweet the president had written referring to her was protected by free-speech laws.

The president called Daniels, who alleges she had an affair with him and got a $130,000 for a non-disclosure agreement, 'Horseface'

The porn star and dancer is also an experienced equestrian

Daniels competes in equestrian events both under her real name, Stephanie Clifford, and under the name Stormy Crain

U.S. District Judge S. James Otero issued the order Monday in Los Angeles.

Daniels alleges she had an affair with Trump in 2006 and sued him in April.

The lawsuit came after Trump tweeted about a composite sketch of a man Daniels says threatened her in 2011 to keep quiet about an alleged affair.

He called it a 'total con job.'

Trump and his wife, First Lady Melania Trump, returned to the White House on Monday after a trip to the Southeast U.S., where they surveyed the damage left by Hurricane Michael.

In dismissing the suit, the judge said Trump's tweet was a 'hyperbolic statement' against a political adversary.

A federal judge has dismissed porn actress Stormy Daniels' defamation lawsuit against President Donald Trump. Daniels is seen above in Berlin on Thursday

Daniels alleges she had an affair with President Trump (seen above at the White House with First Lady Melania Trump on Monday) in 2006 and sued him in April

Daniels, who has also sued over a $130,000 hush money agreement over the alleged encounter, sued over the tweet, claiming it made her appear to be a liar.

Attorneys for Trump have sought to dismiss both lawsuits.

'The Court agrees with Mr. Trump's argument because the tweet in question constitutes 'rhetorical hyperbole' normally associated with politics and public discourse in the United States,' Otero wrote.

The lawsuit came after Trump tweeted about a composite sketch of a man Daniels says threatened her in 2011 to keep quiet about an alleged affair

'The Court agrees with Trump's argument because the tweet in question constitutes 'rhetorical hyperbole' normally associated with politics and public discourse in the United States,' the judge wrote

'The First Amendment protects this type of rhetorical statement.'

Otero presides over both lawsuits.

Trump's lawyer, Charles Harder, said it was a 'total victory' for the president.

He said the amount of the award for Trump's attorneys' fees would be determined later.

Daniels' attorney, Michael Avenatti, vowed to appeal and said he's confident the ruling will be reversed.

Daniels' lawsuit over a hush-money deal is pending.

In April, Daniels appeared on ABC's The View and unveiled the sketch of a man who she says accosted her in a Las Vegas parking lot in 2011.

Daniels, who has also sued over a $130,000 hush money agreement over the alleged encounter, sued over the tweet, claiming it made her appear to be a liar

Daniels said the man approached her as she was getting her infant daughter out of the car to attend a mommy-and-me exercise class.

'I noticed him because he was sort of well-dressed and nothing about him alarmed me,' she said in her first live television interview after the hush money payment given to Daniels by President Trump's lawyer Michael Cohen was unveiled.

'I really thought he was somebody's husband not wanting to be in whatever his wife was doing.'

When she noticed his reflection in her car's window she expected him to ask for directions.

Instead the man threatened the adult film actress and her daughter, telling her to 'forget about this story, leave Mr. Trump alone.'

Upon unveiling the sketch, Stormy's lawyer, Avenatti, said they would pay a $100,000 reward for the identity of the man, and asked for tips to be sent to IDTheThug@gmail.com.

In April, Daniels appeared on ABC's The View and unveiled the sketch of a man who she says accosted her in a Las Vegas parking lot in 2011

Daniels said the man approached her as she was getting her infant daughter out of the car to attend a mommy-and-me exercise class

'We want to get to the bottom of who this is, and we think we know who this is, but we want to confirm it,' Avenatti told The View's audience.

Avenatti divulged more details about the mystery man during a Tuesday afternoon appearance with CNN's Jake Tapper.

The lawyer explained that Daniels had looked at photos of a number of individuals 'we believe indirectly' worked for Trump and Cohen, Avenatti said.

'She has reviewed, Jake, a number of photographs over the last few weeks, couple weeks, actually and we've narrowed it down,' the lawyer said.

He didn't mention whether the drawing was made before or after Daniels saw the photos.

Tapper asked why Avenatti and Daniels wanted the public's help if they already narrowed it down.

'What we're hoping for is someone saw something or heard something. Ideally one of these individuals would have bragged about it to a member of the public,' Avenatti said.

Daniels told 60 Minutes that she did not report the encounter to police at the time because she was scared.

She also pointed out that if she had gone to the police a public record would have been produced and she likely would have had to explain that she had a previous alleged sexual encounter with Trump, which is why the threat took place.