Former president Donald Trump’s personal attorney Alina Habba ranted against the judge overseeing the case while speaking to TV cameras outside court during the lunch break Monday.

“I was told to sit down today,” Habba said to reporters near the steps of the lower Manhattan civil courthouse. “I was yelled at and I’ve had a judge, who is unhinged, slamming a table.”

Inside earlier, Habba stood up and interrupted the proceedings, telling Manhattan Supreme Court Justice Arthur Engoron he was there to listen to what Trump had to say and arguing her client should be allowed to give long answers.

 

“I am not here to listen to what he has to say!” the judge said as he told Habba to “sit down.”

The ex-president himself lost his cool from the witness stand earlier, yelling and attacking Manhattan Supreme Court Justice Engoron — who will decide the outcome of the non-jury trial — and the attorney general as he testified in his own defense.

Trump testified for roughly two hours in hushed tones until becoming visibly agitated, loudly saying that the judge and New York Attorney General Letitia James were “trying to hurt” him.

The former president of the United States is testifying in his defense in the blockbuster $250 million fraud case in which he, sons Don Jr. and Eric, and the Trump Organization stand accused of a fraud scheme that NY Attorney General Letitia James says went on for decades.

Daughter Ivanka is slated to testify as the state’s final witness on Wednesday.

James alleges the ex-commander-in-chief “grossly” exaggerated his net worth by as much as $3.6 billion a year.