The mafia never appointed judges, that is a myth.
Thats not true!
One example is Judge Thomas Aurelio. He was appointed by Frank Costello. Aurelio was even caught on a wiretap professing his "undying loyalty to Don Francesco" for his appointment. It's all documented. There were others in NYC and elsewhere as well. The Chicago Outfit was prolific at it.