Virginia constitution
Article VI: judiciary
Section 11

No justice or judge of a court of record shall, during his continuance in office, engage in the practice of law within or without the Commonwealth, or seek or accept any nonjudicial elective office, or hold any other office of public trust, or engage in any other incompatible activity.