The chief justice of the Oklahoma Supreme Court is recommending the removal of a lower court judge who was caught on camera scrolling through social media and texting during a murder trial.

An investigation by the Oklahoma Supreme Court Council on Judicial Complaints found District Judge Traci Soderstrom exchanged more than 500 texts with her courtroom bailiff during the trial.

Texts included in a court filing showed the judge mocked prosecutors, laughed at the bailiff’s comment about a prosecutor’s genitals, praised the defense attorney and called the key prosecution witness a liar, according to the petition filed Tuesday by Chief Justice John Kane IV.