investigation of a case by a legal agency of the state