The Utah Supreme Court suspended a judge for six months without pay this week over disparaging remarks he made about President Trump online and in his courtroom.

The court ruling points to several instances in which Judge Michael Kwan, who has sat on the justice court bench for the city of Taylorsville for two decades, violated Utah’s judicial code of conduct.

Kwan made a biting remark about Trump’s polices during an exchange with a defendant in January 2017. The defendant said he planned to pay off his court fines when he received money from his tax return. Kwan mocked him for thinking he’d be getting a refund with Trump in office.

“I pray and cross my fingers,” the defendant said.