nts, and other official documents; confer immunity; move the court to reduce the sentence of a person convicted of drug trafficking who provides substantial assistance; attend to and serve as the legal adviser to the statewide grand jury; and exercise such other powers as by law are granted to state attorneys.