The attorney general is the legal counsel for the corporation. The attorney general shall advise the corporation in legal matters and represent it in suits.