At any judicial proceeding under the provisions of this division, allegations that the person is a danger to others, or to himself, or gravely disabled as a result of mental disorder or impairment by chronic alcoholism, shall be presented by the district attorney for the county, unless the board of supervisors, by ordinance or resolution, delegates such duty to the county counsel.
Ca. Welf. and Inst. Code § 5114