Any attorney for the Commonwealth or assistant attorney for the Commonwealth shall, however, have a reasonable time, not to exceed thirty days, after assuming such office to provide for his disassociation from the private practice of law, if such attorney for the Commonwealth or assistant attorney for the Commonwealth was previously engaged in the private practice of law.
Va. Code § 15.2-1628