I’m not that well versed on the law to be able to cite the exact statute being violated so I can only give you a layperson’s guess: obstruction of justice? Conduct unbecoming a judge? Violation of oath?
Fortunately the federal government has an entire department devoted to investigating and prosecuting such crimes, so hopefully we’ll find out soon.