If the AG is something like a DA, he prosecutes cases.
But wait, there's more!
https://careertrend.com/about-6572524-job-description-attorney-general.html
"Although duties vary among jurisdictions, powers of the attorney general typically include the authority to issue formal opinions, propose legislation, serve as public advocates, handle criminal prosecutions and appeals and enforce laws."