Virginia constitution
Article VI: judiciary
Section 9

All justices of the Supreme Court and all judges of other courts of record shall be commissioned by the Governor. They shall receive such salaries and allowances as shall be prescribed by the General Assembly, which shall be apportioned between the Commonwealth and its cities and counties in the manner provided by law. Unless expressly prohibited or limited by the General Assembly, cities and counties shall be permitted to supplement from local funds the salaries of any judges serving within their geographical boundaries. The salary of any justice or judge shall not be diminished during his term of office.
The General Assembly may enact such laws as it deems necessary for the retirement of justices and judges, with such conditions, compensation, and duties as it may prescribe. The General Assembly may also provide for the mandatory retirement of justices and judges after they reach a prescribed age, beyond which they shall not serve, regardless of the term to which elected or appointed.