No person shall be judge of the State Court of Richmond County unless at the time of his election he shall have attained the age of 30 years, and shall have been a citizen of the county for three years, and shall have practiced law seven years; and no person shall be hereafter elected or appointed solicitor of the State Court of Richmond County unless at the time of his election he shall have attained 25 years of age, shall have been a citizen of the county for three years, and shall have practiced law three years next preceding his election.