In common law jurisdictions, main legal advisor to the government
In most common law jurisdictions, the attorney general or attorney-general (AG or Atty.-Gen) is the main legal advisor to the government. In some jurisdictions, attorneys general also have executive responsibility for law enforcement, prosecutions or even responsibility for legal affairs generally. Wikipedia