Cal. Penal Code § 18210
The Legislature finds and declares that it is the intent of this chapter that, in the counties described in this chapter, the district attorney, any assistant district attorney, or any deputy district attorney may petition for a gun violence restraining order in accordance with the same laws and procedures governing the eligibility to petition for a gun violence restraining order pursuant to Chapter 3 (commencing with Section 18150) or Chapter 4 (commencing with Section 18170) of this division.