In some jurisdictions, the requirements to be a judge are lower than the requirements to be a lawyer. (Separately: in many jurisdictions, judges are elected officials.)
It depends almost wholly on the behavior and demonstrated skill and decorum of the lawyers from that batch.