The judge of a court of record vacates his judicial office by the acceptance of another office, state, county or municipal.