An advocate general of a state is a senior officer of the law. In some common law and hybrid jurisdictions the officer performs the function of a legal advisor to the government, analogous to attorneys general in other common law and hybrid jurisdictions. From Wikipedia