Government Code § 12503
ARTICLE 1. General
No person shall be eligible to the office of Attorney General unless that person has been admitted to practice before the Supreme Court of the state for a period of at least five years immediately preceding that person’s election or appointment to this office.