A New York judge on Tuesday ordered President Donald Trump and a woman claiming he made unwanted sexual advances to be deposed by the end of January in a defamation lawsuit that the president’s lawyers say shouldn’t be heard while he is in office.

Justice Jennifer Schecter, who weeks earlier ruled that the case shouldn’t have to be delayed to accommodate a sitting president, set a schedule for party depositions in a case brought by Summer Zervos, a former contestant on “The Apprentice.” The decision means that Trump could be forced to answer questions under oath.

Zervos has said Trump groped and kissed her without consent about a decade ago. After Trump suggested on Twitter, at campaign rallies and during presidential debates, that her story was a “hoax” ginned up for attention, Zervos sued, claiming he had “debased and denigrated” her “with false statements.”

In addition to setting deposition deadlines, Schecter on Tuesday said all fact discovery in the case should be completed by April, a timeline that points to a possible trial as early as the summer or fall of 2019.

An expanded version of this report appears on WSJ.com.

Also popular on WSJ.com:

Behind the messy, expensive split between Facebook and WhatsApp’s founders.

Fashion designer Kate Spade, 55, dies in apparent suicide.