(CNN) — Judge Arthur Engoron rebuked Donald Trump after the former president attacked his clerk in a social media post on Tuesday and forbade the parties from making any future comments about his staff.

“This morning one of the defendants posted on (a) social media account a disparaging untrue and personally identifying post about a member of my staff. Although I have since ordered the post deleted and apparently it was, it was also emailed out to millions of other recipients,” the judge said in court.

“Personal attacks of any member of my court staff are unacceptable, inappropriate and I will not tolerate them,” the judge said.

Trump looked straight ahead at the judge as he issued the order.

The judge then said all parties must not speak publicly about any members of the court staff.

“Consider this statement an order forbidding all parties from posting, emailing or speaking publicly about any members of my staff,” Engoron said. “Failure to abide by this … will result in serious sanctions.”

Trump posted on Truth Social Tuesday attacking Engoron’s clerk, claiming she was a “girlfriend” to Senate Majority Leader Chuck Schumer, a New York Democrat, and showing a picture of the two of them together.

“How disgraceful!” Trump wrote. “This case should be dismissed immediately.”

It was not immediately clear there was a connection between Engoron’s clerk and Schumer beyond taking a photo. CNN has reached out to Schumer’s office for comment.

During the lunch break before the judge’s admonishment, there was unusual activity outside the court room, and Trump went in and out during the break. There also was a short delay before court convened for the afternoon session.

For the past two days, Trump has voluntarily attended the New York civil trial, where the New York Attorney General Letitia James has brought a $250 million lawsuit accusing Trump and co-defendants of committing repeated fraud by inflating assets to get better terms on commercial real estate loans and insurance policies.

The New York attorney general is seeking to bar Trump from doing business in the state. Last week, the judge ruled that Trump and his co-defendants were liable for “persistent and repeated” fraud, one of seven claims the attorney general is trying to prove.

Monday, Trump also went after the clerk in his comments outside the courtroom, though he didn’t mention her by name.

“And this rogue judge, a Trump hater. The only one that hates Trump more is his associate up there,” Trump said. “The person that works with him. She’s screaming into his ear almost every time we ask a question. A disgrace. It’s a disgrace.”

The photo of Schumer and the clerk was posted last week by an obscure account on X, formerly known as Twitter, that had fewer than 200 followers as of Tuesday.

The post, which Trump included as an image in his own Truth Social post, did not allege that the clerk was Schumer’s girlfriend, merely that the two were “palling around.” Trump added the baseless “girlfriend” claim.

Judge: ‘That’s why we have appeals’

Earlier Tuesday, Engoron reminded Trump’s attorneys that the trial itself is not the venue to contest things on which the judge has already ruled.

“That’s why we have appeals,” Engoron said.

Engoron clarified a comment he made Monday about testimony related to 2011 financial statements being a “waste of time.” He told Kevin Wallace, a lawyer for the attorney general’s office, to get to his point after three hours of testimony from a former Trump accountant.

“Mr. Wallace promised to connect the dots,” Engoron said.

An appellate court ruled that the statute of limitations applied to 2014, and Trump’s lawyers have pushed to dismiss allegations about deals that occurred before then.

Engoron, however, said that he has not changed last week’s ruling and his comments in court Monday afternoon only addressed evidence and testimony admissible at trial.

The judge noted that the attorney general is suing Trump not on the underlying transactions but on the financial statements that referenced them, which occurred after 2014 and are included in James’ claims.

“Every use of a false financial statements in business starts the statute of limitations running again,” Engoron said. “I understand that the defendants strongly disagree with this and will appeal on those grounds.”

Leaving court Monday, Trump had incorrectly claimed that the judge had agreed that 80% of the attorney general’s case was thrown out because of the statute of limitations.

Last week, Engoron ruled that Trump and his co-defendants were liable for fraud. It’s one of several allegations contained in the attorney general’s civil case against Trump, but it could lead to stiff penalties for his business.

Trump says he’ll testify

Trump said he will testify at his civil trial, while speaking just outside the court room during a break in proceedings.

“Yes, I will. At the appropriate time I will be” testifying, he responded when asked.

Trump is expected to testify later in the trial, and he is on the witness list for both the state and his own legal team. Trump’s lawyer has previously said the former president is eager to testify in his own defense.

The-CNN-Wire™ & © 2024 Cable News Network, Inc., a Time Warner Company. All rights reserved.

Join our Newsletter for the latest news right to your inbox