Yehoshua b. Gamla was an influential member of the Sanhedrin during the time immediately before the Temple's destruction. He was most famous for his ordinance that all communities hire teachers to instruct children. Yet he was also accused of having bought the office of the high priest.
Sources
A