Donald Trump dared a federal judge to hold him in contempt of court by having screenshots of his sex abuse victim E. Jean Carroll's smutty jokes on Twitter posted to his social media account as he sat in the courtroom.

The former president was last year found liable for sexually abusing Carroll in the 1990s at a New York City department store and then defaming her after she publicly accused him of rape.

As he sat without a phone in a federal courtroom for the start of a second trial in the case Tuesday, a series of posts about the writer went up on his Truth Social account.

"Can you believe I have to defend myself against this woman’s fake story?!" Trump posted, adding a video clip from a CNN interview Carroll gave about her allegations.

It's not clear whether Trump scheduled those posts to go up while he sat in court or whether a staffer posted them on his behalf, but they also included a series of screenshots of jokes about sex that Carroll had made over the years on her own Twitter account.

ALSO READ: 'You lost Ivanka': Trump the target of bogus political action committees

"Everything interesting on Twitter is about sex," Carroll posted in January 2014, while another May 2010 read: "Sex Tip I Learned From My Dog: When in heat, chase the male until he collapses with exhaustion ... then jump him!"

In the first trial, which covered comments Trump made about Carroll after leaving the White House, U.S. District Judge Lewis Kaplan warned Trump's attorneys that social media posts about the case or his accuser could expose him to "a new source of potential liability."

Kaplan has already ruled that this trial, which covers defamatory statements Trump made as president, will not be a "do-over" of the first case, and he will not allow the ex-president to deny Carroll's allegations, discuss DNA evidence or mention her past romantic relationships.