(b) A copy of the complaint and written disclosure of substantially all material evidence and information the person possesses shall be served on the state pursuant to subdivision one of section three hundred seven of the civil practice law and rules. Any complaint filed in a court of the state of New York shall be filed in supreme court in camera, shall remain under seal for at least sixty days, and shall not be served on the defendant until the court so orders. The seal shall not preclude the attorney general, a local government, or the qui tam plaintiff from serving the complaint, any other pleadings, or the written disclosure of substantially all material evidence and information possessed by the person bringing the action, on relevant state or local government agencies, or on law enforcement authorities of the state, a local government, or other jurisdictions, so that the actions may be investigated or prosecuted, except that such seal applies to the agencies or authorities so served to the same extent as the seal applies to other parties in the action.
If the allegations in the complaint allege a violation of section one hundred eighty-nine of this article involving damages to a local government, then the attorney general may at any time provide a copy of such complaint and written disclosure to the attorney for such local government; provided, however, that if the allegations in the complaint involve damages only to a city with a population of one million or more, or only to the state and such a city, then the attorney general shall provide such complaint and written disclosure to the corporation counsel of such city within thirty days.
The state may elect to supersede or intervene and proceed with the action, or to authorize a local government that may have sustained damages to supersede or intervene, within sixty days after it receives both the complaint and the material evidence and information; provided, however, that if the allegations in the complaint involve damages only to a city with a population of one million or more, then the attorney general may not supersede or intervene in such action without the consent of the corporation counsel of such city. The attorney general shall consult with the office of the medicaid inspector general prior to superseding or intervening in any action related to the medicaid program. The attorney general may, for good cause shown, move the court for extensions of the time during which the complaint remains under seal under this subdivision. Any such motions may be supported by affidavits or other submissions in camera.