Former U.S. President Donald Trump was questioned under oath Wednesday by lawyers for New York author E. Jean Carroll, who alleges he raped her in a department store dressing room two decades ago and defamed her when he denied it while he was in office.

Trump, 76, had no choice but to go ahead with the deposition after a New York judge last week rejected the former president’s latest effort to put the questioning on hold.

"We’re pleased that on behalf of our client, E. Jean Carroll, we were able to take Donald Trump’s deposition today,” the law firm Kaplan Hecker & Fink said in an emailed statement. "We are not able to comment further.”