Donald Trump was fined $10,000 on Wednesday after the New York judge overseeing his civil fraud trial said the former U.S. president for a second time violated a gag order barring him from disparaging court staff.

Justice Arthur Engoron had imposed the order on Oct. 3 after Trump shared on social media a photo of the judge¡¯s top clerk posing with U.S. Senate Majority leader Chuck Schumer, a Democrat, and falsely called her Schumer¡¯s ¡°girlfriend.¡±

During a break on Wednesday in the case brought by New York Attorney General Letitia James concerning Trump¡¯s business practices, Trump told reporters in a hallway, ¡°This judge is a very partisan judge, with a person who¡¯s very partisan sitting alongside of him, perhaps even much more partisan than he is.¡±