NEW YORK -- Questioned for a lawsuit, former President Donald Trump angrily hurled insults and threatened to sue the columnist who accused him of raping her in a department store in the 1990s, according to excerpts of his videotaped testimony unsealed by a court on Friday.

Portions of his 5 1/2-hour October deposition in a lawsuit filed by columnist E. Jean Carroll were released publicly after a federal judge rejected his lawyers' request that it remained sealed.

鈥淪he said that I did something to her that never took place. There was no anything. I know nothing about this nut job,鈥 he said, according to the transcript.

The excerpts reveal a contentious battle between Trump and Roberta Kaplan, a lawyer for Carroll, who questioned him as Trump called the former longtime Elle magazine columnist the perpetrator of 鈥渁 complete scam鈥 in which she described the rape as she 鈥渨as promoting a really crummy book.鈥

鈥淚 will sue her after this is over, and that's the thing I really look forward to doing. And I'll sue you too,鈥 he told Kaplan.

The release of excerpts from the deposition came the same day as Judge Lewis A. Kaplan, unrelated to the lawyer, also refused a request by Trump's attorneys to toss out two lawsuits by Carroll alleging defamation and rape. An April trial is planned.

Trump has repeatedly said the encounter with Carroll in the mid-1990s at an upscale Manhattan department store never happened.

In his testimony, Trump repeatedly attacked Carroll's depiction of him as a rapist.

Trump said he knew it wasn't 鈥減olitically correct鈥 to say 鈥渟he's not my type鈥 when he responded to claims shortly after Carroll's 2019 book was published. The writer alleged she was attacked by Trump in a dressing room after they had a chance meeting in the store and she agreed to help him pick out lingerie for a friend.

鈥淏ut I'll say it anyway,鈥 he said. 鈥淪he's accusing me of rape, a woman that I have no idea who she is. It came out of the blue. She's accusing me of raping her, the worst thing you can do, the worst charge.鈥

Speaking to her attorney, he added: 鈥淎nd you know it's not true too. You're a political operative also. You're a disgrace. But she's accusing me and so are you of rape, and it never took place.鈥

At one point in the deposition, Trump called Carroll 鈥渟ick, mentally sick.鈥 He mischaracterized an interview Carroll had given on CNN, falsely claiming she had talked about enjoying being sexually assaulted. 鈥淪he actually indicated that she loved it. Okay? She loved it until commercial break,鈥 Trump said. 鈥淚n fact, I think she said it was sexy, didn't she? She said it was very sexy to be raped. Didn't she say that?鈥

Kaplan, Carroll's attorney, then tried to elicit from Trump that he raped her client.

鈥淪o, sir, I just want to confirm: It's your testimony that E. Jean Carroll said that she loved being sexually assaulted by you?鈥

Trump answered: 鈥淲ell, based on her interview with Anderson Cooper, I believe that's what took place. And we can define that. ... I think she said that rape was sexy - which it's not, by the way.鈥

What Carroll has said in her writing, and in the interview with Cooper, is that she doesn't like to use the word rape because some other people 鈥渢hink rape is sexy.鈥 She said she preferred the term 鈥渇ight.鈥

At another point in the deposition, Kaplan asked Trump if he had ever touched a woman on her breast or buttocks or any other sexual part without her consent.

鈥淲ell, I will tell you no, but you may have some people like your client that lie,鈥 he responded.

Late Friday, Trump attorney Alina Habba issued a statement, saying: 鈥淲hile it was entirely unnecessary for the unsealing of a transcript both parties previously agreed would remain confidential, our client has nothing to hide and looks forward to resolving this meritless case.鈥

Roberta Kaplan declined to comment on the release of the deposition excerpts.

Kaplan, the Manhattan judge, earlier Friday upheld the lawsuits alleging rape and defamation and seeking unspecified damages by Carroll, saying they could proceed to trial because Trump's challenges were without merit.

鈥淭he fact that Mr. Trump denies Ms. Carroll's allegations does not enter into the analysis at this stage of the case,鈥 the jurist wrote. 鈥淲hat, if anything, actually occurred must await further proceedings if the complaint withstands the present motion.鈥

Habba said in a statement: 鈥淲hile we are disappointed with the Court's decision, we intend to immediately appeal the order and continue to advocate for our client's constitutionally protected rights.鈥

In his ruling, the judge said the Adult Survivor's Act was similar to the Child Victims Act, another New York state law that temporarily allowed victims of sexual assaults when they were children to sue their abusers years later.

Carroll initially sued Trump for defamation after he mocked her claims he sexually assaulted her. Carroll sued Trump with the rape claim in November, when the Adult Survivor's Act took effect.