Amended  IN  Assembly  August 19, 2024
Amended  IN  Assembly  June 17, 2024
Amended  IN  Senate  March 11, 2024

CALIFORNIA LEGISLATURE— 2023–2024 REGULAR SESSION

Senate Bill
No. 1002


Introduced by Senator Blakespear
(Coauthors: Assembly Members Boerner, Davies, and Petrie-Norris)

February 01, 2024


An act to amend Section 1524 of the Penal Code, and to amend Section 8103 of the Welfare and Institutions Code, relating to firearms.


LEGISLATIVE COUNSEL'S DIGEST


SB 1002, as amended, Blakespear. Firearms: prohibited persons.
Existing law prohibits a person who has been taken into custody, assessed, and admitted to a designated facility, or who has been certified for intensive treatment after having been admitted to a designated facility, because the person is a danger to themselves or others as a result of a mental health disorder, from owning a firearm for a period of 5 years after the person is released from the facility or for the remainder of their life if the person has previously been taken into custody, assessed, and admitted one or more times within a period of one year preceding the most recent admittance. Existing law requires the facility to submit a report to the Department of Justice containing information that includes, but is not limited to, the identity of the person and the legal grounds upon which the person was admitted to the facility. Existing law allows a person who is prohibited from owning a firearm pursuant to these provisions to request the court for a hearing to reinstate the person’s right to own a firearm, and requires the facility to provide a person subject to the prohibition with the “Patient Notification of Firearm Prohibition and Right to Hearing Form” informing the person of the firearm prohibition and their right to request a hearing. firearm, as specified. Existing law also prohibits a person who has been adjudicated to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, a person who has been found not guilty by reason of insanity of committing specified crimes, a person found by a court to be mentally incompetent to stand trial, or a person who has been placed under conservatorship by a court because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism from purchasing or receiving, or attempting to purchase or receive, or having possession, custody, or control of a firearm or any other deadly weapon. A violation of these prohibitions is a crime.
This bill would, among other things, instead require the 5-year prohibition to commence on the date that the facility makes the above-described report to the Department of Justice and would require the Department of Justice to, within 7 days of receipt of the report from the facility, notify a person subject to the above-described provisions of the prohibition and their right to request a hearing to reinstate their right to own a firearm, other deadly weapon, or ammunition. expand those prohibitions to also prohibit the ownership, possession, custody, or control of ammunition. The bill would require a person subject to the prohibition because they are a danger to themselves or others as a result of a mental health disorder to relinquish a firearm, other deadly weapon, or ammunition they own, possess, or control within 72 hours of discharge from a facility, as specified, and would require the “Patient Notification of Firearm Prohibition and Right to Hearing Form” to include information on the relinquishment requirement. The bill would also make technical changes. a person subject to the prohibition because they are a person who has been adjudicated to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, or a person who has been found not guilty by reason of insanity of committing specified crimes, to relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person as described. By expanding the application of an existing crime, this bill would impose a state-mandated local program.

Existing law also prohibits a person who has been adjudicated to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, and a person who has been placed under conservatorship by a court because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism from purchasing or receiving, or attempting to purchase or receive, or having possession, custody, or control of a firearm or any other deadly weapon. A violation of this prohibition is a crime.

This bill would expand that prohibition to also prohibit the ownership, possession, custody, or control of ammunition. The bill would require the court to inform the above-described persons, and their conservator, if applicable, of how the person may relinquish a firearm, other deadly weapon, or ammunition in the person’s possession, custody, or control according to local procedure and the process for submitting a receipt to the court to show proof of relinquishment. By expanding the application of an existing crime, this bill would impose a state-mandated local program.

Existing law allows a search warrant to be issued upon probable cause, supported by affidavit, naming or describing the person to be searched or searched for, and particularly describing the property, thing, or things and the place to be searched. Existing law also specifies the grounds upon which a search warrant may be issued, including, among other grounds, when the property or things to be seized include a firearm or other deadly weapon that is owned by, in the possession of, or in the custody or control of specified individuals.
This bill would additionally authorize a search warrant to be issued on the grounds that the property to be seized includes ammunition and is owned by, in the possession of, or in the custody or control of specified individuals.
This bill would incorporate additional changes to Section 1524 of the Penal Code and Section 8103 of the Welfare and Institutions Code proposed by AB 2629 and SB 899 to be operative only if this bill and AB 2629 and SB 899 are enacted and this bill is enacted last.
The California Constitution requires the state to reimburse local agencies and school districts for certain costs mandated by the state. Statutory provisions establish procedures for making that reimbursement.
This bill would provide that no reimbursement is required by this act for a specified reason.
Vote: MAJORITY   Appropriation: NO   Fiscal Committee: YES   Local Program: YES  

The people of the State of California do enact as follows:


SECTION 1.

 Section 1524 of the Penal Code is amended to read:

1524.
 (a) A search warrant may be issued upon any of the following grounds:
(1) When the property was stolen or embezzled.
(2) When the property or things were used as the means of committing a felony.
(3) When the property or things are in the possession of a person with the intent to use them as a means of committing a public offense, or in the possession of another to whom that person may have delivered them for the purpose of concealing them or preventing them from being discovered.
(4) When the property or things to be seized consist of an item or constitute evidence that tends to show a felony has been committed, or tends to show that a particular person has committed a felony.
(5) When the property or things to be seized consist of evidence that tends to show that sexual exploitation of a child, in violation of Section 311.3, or possession of matter depicting sexual conduct of a person under 18 years of age, in violation of Section 311.11, has occurred or is occurring.
(6) When there is a warrant to arrest a person.
(7) When a provider of electronic communication service or remote computing service has records or evidence, as specified in Section 1524.3, showing that property was stolen or embezzled constituting a misdemeanor, or that property or things are in the possession of a person with the intent to use them as a means of committing a misdemeanor public offense, or in the possession of another to whom that person may have delivered them for the purpose of concealing them or preventing their discovery.
(8) When the property or things to be seized include an item or evidence that tends to show a violation of Section 3700.5 of the Labor Code or tends to show that a particular person has violated Section 3700.5 of the Labor Code.
(9) When the property or things to be seized include a firearm or other deadly weapon at the scene of, or at the premises occupied or under the control of the person arrested in connection with, a domestic violence incident involving a threat to human life or a physical assault as provided in Section 18250. This section does not affect warrantless seizures otherwise authorized by Section 18250.
(10) When the property or things to be seized include a firearm or other deadly weapon that is owned by, or in the possession of, or in the custody or control of, a person described in subdivision (a) of Section 8102 of the Welfare and Institutions Code.
(11) When the property or things to be seized include a firearm that is owned by, or in the possession of, or in the custody or control of, a person who is subject to the prohibitions regarding firearms pursuant to Section 6389 of the Family Code, if a prohibited firearm is possessed, owned, in the custody of, or controlled by a person against whom a protective order has been issued pursuant to Section 6218 of the Family Code, the person has been lawfully served with that order, and the person has failed to relinquish the firearm as required by law.
(12) When the information to be received from the use of a tracking device constitutes evidence that tends to show that either a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code has been committed or is being committed, tends to show that a particular person has committed a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code, or is committing a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code, or will assist in locating an individual who has committed or is committing a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code. A tracking device search warrant issued pursuant to this paragraph shall be executed in a manner meeting the requirements specified in subdivision (b) of Section 1534.
(13) When a sample of the blood of a person constitutes evidence that tends to show a violation of Section 23140, 23152, or 23153 of the Vehicle Code and the person from whom the sample is being sought has refused an officer’s request to submit to, or has failed to complete, a blood test as required by Section 23612 of the Vehicle Code, and the sample will be drawn from the person in a reasonable, medically approved manner. This paragraph is not intended to abrogate a court’s mandate to determine the propriety of the issuance of a search warrant on a case-by-case basis.
(14) Beginning January 1, 2016, the property or things to be seized are firearms or ammunition or both that are owned by, in the possession of, or in the custody or control of a person who is the subject of a gun violence restraining order that has been issued pursuant to Division 3.2 (commencing with Section 18100) of Title 2 of Part 6, if a prohibited firearm or ammunition or both is possessed, owned, in the custody of, or controlled by a person against whom a gun violence restraining order has been issued, the person has been lawfully served with that order, and the person has failed to relinquish the firearm as required by law.
(15) Beginning January 1, 2018, the property or things to be seized include a firearm that is owned by, or in the possession of, or in the custody or control of, a person who is subject to the prohibitions regarding firearms pursuant to Section 29800 or 29805, and the court has made a finding pursuant to subdivision (c) of Section 29810 that the person has failed to relinquish the firearm as required by law.
(16) When the property or things to be seized are controlled substances or a device, contrivance, instrument, or paraphernalia used for unlawfully using or administering a controlled substance pursuant to the authority described in Section 11472 of the Health and Safety Code.
(17) (A) When all of the following apply:
(i) A sample of the blood of a person constitutes evidence that tends to show a violation of subdivision (b), (c), (d), (e), or (f) of Section 655 of the Harbors and Navigation Code.
(ii) The person from whom the sample is being sought has refused an officer’s request to submit to, or has failed to complete, a blood test as required by Section 655.1 of the Harbors and Navigation Code.
(iii) The sample will be drawn from the person in a reasonable, medically approved manner.
(B) This paragraph is not intended to abrogate a court’s mandate to determine the propriety of the issuance of a search warrant on a case-by-case basis.
(18) When the property or things to be seized consists of evidence that tends to show that a violation of paragraph (1), (2), or (3) of subdivision (j) of Section 647 has occurred or is occurring.
(19) (A) When the property or things to be seized are data, from a recording device installed by the manufacturer of a motor vehicle, that constitutes evidence that tends to show the commission of a felony or misdemeanor offense involving a motor vehicle, resulting in death or serious bodily injury to a person. The data accessed by a warrant pursuant to this paragraph shall not exceed the scope of the data that is directly related to the offense for which the warrant is issued.
(B) For the purposes of this paragraph, “recording device” has the same meaning as defined in subdivision (b) of Section 9951 of the Vehicle Code. The scope of the data accessible by a warrant issued pursuant to this paragraph shall be limited to the information described in subdivision (b) of Section 9951 of the Vehicle Code.
(C) For the purposes of this paragraph, “serious bodily injury” has the same meaning as defined in paragraph (4) of subdivision (f) of Section 243.
(20) When the property or things to be seized consists of evidence that tends to show that a violation of Section 647.9 has occurred or is occurring. Evidence to be seized pursuant to this paragraph shall be limited to evidence of a violation of Section 647.9 and shall not include evidence of a violation of a departmental rule or guideline that is not a public offense under California law.
(21) If the property to be seized includes ammunition and all of the following criteria are satisfied:
(A) The property is owned by, in the possession of, or in the custody or control of a person who is subject to the prohibition set forth in Section 8103 of the Welfare and Institutions Code.
(B) The person has been lawfully served with the order required by Section 8103 of the Welfare and Institutions Code.
(C) The person has failed to relinquish the ammunition as required by law.
(b) The property, things, person, or persons described in subdivision (a) may be taken on the warrant from a place or from a person in whose possession the property or things may be.
(c) Notwithstanding subdivision (a) or (b), a search warrant shall not be issued for documentary evidence in the possession or under the control of a person who is a lawyer as defined in Section 950 of the Evidence Code, a physician as defined in Section 990 of the Evidence Code, a psychotherapist as defined in Section 1010 of the Evidence Code, or a member of the clergy as defined in Section 1030 of the Evidence Code, and who is not reasonably suspected of engaging or having engaged in criminal activity related to the documentary evidence for which a warrant is requested unless the following procedure has been complied with:
(1) At the time of the issuance of the warrant, the court shall appoint a special master in accordance with subdivision (d) to accompany the person who will serve the warrant. Upon service of the warrant, the special master shall inform the party served of the specific items being sought and that the party shall have the opportunity to provide the items requested. If the party, in the judgment of the special master, fails to provide the items requested, the special master shall conduct a search for the items in the areas indicated in the search warrant.
(2) (A) If the party who has been served states that an item or items should not be disclosed, they shall be sealed by the special master and taken to court for a hearing.
(B) At the hearing, the party searched shall be entitled to raise an issue that may be raised pursuant to Section 1538.5 as well as a claim that the item or items are privileged, as provided by law. The hearing shall be held in the superior court. The court shall provide sufficient time for the parties to obtain counsel and make motions or present evidence. The hearing shall be held within three days of the service of the warrant unless the court makes a finding that the expedited hearing is impracticable. In that case, the matter shall be heard at the earliest possible time.
(C) If an item or items are taken to court for a hearing, a limitation of time prescribed in Chapter 2 (commencing with Section 799) of Title 3 shall be tolled from the time of the seizure until the final conclusion of the hearing, including an associated writ or appellate proceedings.
(3) The warrant shall, whenever practicable, be served during normal business hours. In addition, the warrant shall be served upon a party who appears to have possession or control of the items sought. If, after reasonable efforts, the party serving the warrant is unable to locate the person, the special master shall seal and return to the court, for determination by the court, an item that appears to be privileged as provided by law.
(d) (1) As used in this section, a “special master” is an attorney who is a member in good standing of the California State Bar and who has been selected from a list of qualified attorneys that is maintained by the State Bar particularly for the purposes of conducting the searches described in this section. These attorneys shall serve without compensation. A special master shall be considered a public employee, and the governmental entity that caused the search warrant to be issued shall be considered the employer of the special master and the applicable public entity, for purposes of Division 3.6 (commencing with Section 810) of Title 1 of the Government Code, relating to claims and actions against public entities and public employees. In selecting the special master, the court shall make every reasonable effort to ensure that the person selected has no relationship with any of the parties involved in the pending matter. Information obtained by the special master shall be confidential and may not be divulged except in direct response to inquiry by the court.
(2) In a case in which the magistrate determines that, after reasonable efforts have been made to obtain a special master, a special master is not available and would not be available within a reasonable period of time, the magistrate may direct the party seeking the order to conduct the search in the manner described in this section in lieu of the special master.
(e) A search conducted pursuant to this section by a special master may be conducted in a manner that permits the party serving the warrant or that party’s designee to accompany the special master as the special master conducts the search. However, that party or that party’s designee may not participate in the search nor shall they examine any of the items being searched by the special master except upon agreement of the party upon whom the warrant has been served.
(f) As used in this section, “documentary evidence” includes, but is not limited to, writings, documents, blueprints, drawings, photographs, computer printouts, microfilms, x-rays, files, diagrams, ledgers, books, tapes, audio and video recordings, films, and papers of any type or description.
(g) No warrant shall issue for an item or items described in Section 1070 of the Evidence Code.
(h) No warrant shall issue for an item or items that pertain to an investigation into a prohibited violation, as defined in Section 629.51.
(i) Notwithstanding any other law, no claim of attorney work product as described in Chapter 4 (commencing with Section 2018.010) of Title 4 of Part 4 of the Code of Civil Procedure shall be sustained where there is probable cause to believe that the lawyer is engaging or has engaged in criminal activity related to the documentary evidence for which a warrant is requested unless it is established at the hearing with respect to the documentary evidence seized under the warrant that the services of the lawyer were not sought or obtained to enable or aid anyone to commit or plan to commit a crime or a fraud.
(j) Nothing in this section is intended to limit an attorney’s ability to request an in-camera hearing pursuant to the holding of the Supreme Court of California in People v. Superior Court (Laff) (2001) 25 Cal.4th 703.
(k) In addition to any other circumstance permitting a magistrate to issue a warrant for a person or property in another county, when the property or things to be seized consist of any item or constitute evidence that tends to show a violation of Section 530.5, the magistrate may issue a warrant to search a person or property located in another county if the person whose identifying information was taken or used resides in the same county as the issuing court.
(l) This section does not create a cause of action against a foreign or California corporation, its officers, employees, agents, or other specified persons for providing location information.

SEC. 1.5.

 Section 1524 of the Penal Code is amended to read:

1524.
 (a) A search warrant may be issued upon any of the following grounds:
(1) When the property was stolen or embezzled.
(2) When the property or things were used as the means of committing a felony.
(3) When the property or things are in the possession of any a person with the intent to use them as a means of committing a public offense, or in the possession of another to whom that person may have delivered them for the purpose of concealing them or preventing them from being discovered.
(4) When the property or things to be seized consist of an item or constitute evidence that tends to show a felony has been committed, or tends to show that a particular person has committed a felony.
(5) When the property or things to be seized consist of evidence that tends to show that sexual exploitation of a child, in violation of Section 311.3, or possession of matter depicting sexual conduct of a person under 18 years of age, in violation of Section 311.11, has occurred or is occurring.
(6) When there is a warrant to arrest a person.
(7) When a provider of electronic communication service or remote computing service has records or evidence, as specified in Section 1524.3, showing that property was stolen or embezzled constituting a misdemeanor, or that property or things are in the possession of any a person with the intent to use them as a means of committing a misdemeanor public offense, or in the possession of another to whom that person may have delivered them for the purpose of concealing them or preventing their discovery.
(8) When the property or things to be seized include an item or evidence that tends to show a violation of Section 3700.5 of the Labor Code, Code or tends to show that a particular person has violated Section 3700.5 of the Labor Code.
(9) When the property or things to be seized include a firearm or other deadly weapon at the scene of, or at the premises occupied or under the control of the person arrested in connection with, a domestic violence incident involving a threat to human life or a physical assault as provided in Section 18250. This section does not affect warrantless seizures otherwise authorized by Section 18250.
(10) When the property or things to be seized include a firearm or other deadly weapon that is owned by, or in the possession of, or in the custody or control of, a person described in subdivision (a) of Section 8102 of the Welfare and Institutions Code.
(11) When the property or things to be seized include a firearm that is owned by, or in the possession of, or in the custody or control of, a person who is subject to the prohibitions regarding firearms or ammunition or both pursuant to Section 6389 of the Family Code, if a prohibited firearm or ammunition or both is possessed, owned, in the custody of, or controlled by a person against whom a protective order has been issued pursuant to Section 6218 of the Family Code, the person has been lawfully served with that order, and the person has failed to relinquish the firearm or ammunition or both as required by law.
(12) When the information to be received from the use of a tracking device constitutes evidence that tends to show that either a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code has been committed or is being committed, tends to show that a particular person has committed a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code, or is committing a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code, or will assist in locating an individual who has committed or is committing a felony, a misdemeanor violation of the Fish and Game Code, or a misdemeanor violation of the Public Resources Code. A tracking device search warrant issued pursuant to this paragraph shall be executed in a manner meeting the requirements specified in subdivision (b) of Section 1534.
(13) When a sample of the blood of a person constitutes evidence that tends to show a violation of Section 23140, 23152, or 23153 of the Vehicle Code and the person from whom the sample is being sought has refused an officer’s request to submit to, or has failed to complete, a blood test as required by Section 23612 of the Vehicle Code, and the sample will be drawn from the person in a reasonable, medically approved manner. This paragraph is not intended to abrogate a court’s mandate to determine the propriety of the issuance of a search warrant on a case-by-case basis.
(14) Beginning January 1, 2016, the property or things to be seized are firearms or ammunition or both that are owned by, in the possession of, or in the custody or control of a person who is the subject of a gun violence restraining order that has been issued pursuant to Division 3.2 (commencing with Section 18100) of Title 2 of Part 6, if a prohibited firearm or ammunition or both is possessed, owned, in the custody of, or controlled by a person against whom a gun violence restraining order has been issued, the person has been lawfully served with that order, and the person has failed to relinquish the firearm as required by law.
(15) Beginning January 1, 2018, the property or things to be seized include a firearm that is owned by, or in the possession of, or in the custody or control of, a person who is subject to the prohibitions regarding firearms pursuant to Section 29800 or 29800, 29805, or 29815 and the court has made a finding pursuant to subdivision (c) of Section 29810 that the person has failed to relinquish the firearm as required by law.
(16) When the property or things to be seized are controlled substances or a device, contrivance, instrument, or paraphernalia used for unlawfully using or administering a controlled substance pursuant to the authority described in Section 11472 of the Health and Safety Code.
(17) (A) When all of the following apply:
(i) A sample of the blood of a person constitutes evidence that tends to show a violation of subdivision (b), (c), (d), (e), or (f) of Section 655 of the Harbors and Navigation Code.
(ii) The person from whom the sample is being sought has refused an officer’s request to submit to, or has failed to complete, a blood test as required by Section 655.1 of the Harbors and Navigation Code.
(iii) The sample will be drawn from the person in a reasonable, medically approved manner.
(B) This paragraph is not intended to abrogate a court’s mandate to determine the propriety of the issuance of a search warrant on a case-by-case basis.
(18) When the property or things to be seized consists of evidence that tends to show that a violation of paragraph (1), (2), or (3) of subdivision (j) of Section 647 has occurred or is occurring.
(19) (A) When the property or things to be seized are data, from a recording device installed by the manufacturer of a motor vehicle, that constitutes evidence that tends to show the commission of a felony or misdemeanor offense involving a motor vehicle, resulting in death or serious bodily injury to any a person. The data accessed by a warrant pursuant to this paragraph shall not exceed the scope of the data that is directly related to the offense for which the warrant is issued.
(B) For the purposes of this paragraph, “recording device” has the same meaning as defined in subdivision (b) of Section 9951 of the Vehicle Code. The scope of the data accessible by a warrant issued pursuant to this paragraph shall be limited to the information described in subdivision (b) of Section 9951 of the Vehicle Code.
(C) For the purposes of this paragraph, “serious bodily injury” has the same meaning as defined in paragraph (4) of subdivision (f) of Section 243 of the Penal Code. 243.
(20) When the property or things to be seized consists of evidence that tends to show that a violation of Section 647.9 has occurred or is occurring. Evidence to be seized pursuant to this paragraph shall be limited to evidence of a violation of Section 647.9 and shall not include evidence of a violation of a departmental rule or guideline that is not a public offense under California law.
(21) When the property or things to be seized include a firearm or ammunition or both that is owned by, or in the possession of, or in the custody or control of, a person who is subject to the prohibitions regarding firearms pursuant to Section 527.9 of the Code of Civil Procedure, the person has been lawfully served with that order, and the person has failed to relinquish the firearm or ammunition or both as required by law.
(22) If the property to be seized includes ammunition and all of the following criteria are satisfied:
(A) The property is owned by, in the possession of, or in the custody or control of a person who is subject to the prohibition set forth in Section 8103 of the Welfare and Institutions Code.
(B) The person has been lawfully served with the order required by Section 8103 of the Welfare and Institutions Code.
(C) The person has failed to relinquish the ammunition as required by law.
(b) The property, things, person, or persons described in subdivision (a) may be taken on the warrant from any place, a place or from any a person in whose possession the property or things may be.
(c) Notwithstanding subdivision (a) or (b), a search warrant shall not be issued for any documentary evidence in the possession or under the control of any a person who is a lawyer as defined in Section 950 of the Evidence Code, a physician as defined in Section 990 of the Evidence Code, a psychotherapist as defined in Section 1010 of the Evidence Code, or a member of the clergy as defined in Section 1030 of the Evidence Code, and who is not reasonably suspected of engaging or having engaged in criminal activity related to the documentary evidence for which a warrant is requested unless the following procedure has been complied with:
(1) At the time of the issuance of the warrant, the court shall appoint a special master in accordance with subdivision (d) to accompany the person who will serve the warrant. Upon service of the warrant, the special master shall inform the party served of the specific items being sought and that the party shall have the opportunity to provide the items requested. If the party, in the judgment of the special master, fails to provide the items requested, the special master shall conduct a search for the items in the areas indicated in the search warrant.
(2) (A) If the party who has been served states that an item or items should not be disclosed, they shall be sealed by the special master and taken to court for a hearing.
(B) At the hearing, the party searched shall be entitled to raise any issues an issue that may be raised pursuant to Section 1538.5 as well as a claim that the item or items are privileged, as provided by law. The hearing shall be held in the superior court. The court shall provide sufficient time for the parties to obtain counsel and make motions or present evidence. The hearing shall be held within three days of the service of the warrant unless the court makes a finding that the expedited hearing is impracticable. In that case, the matter shall be heard at the earliest possible time.
(C) If an item or items are taken to court for a hearing, any limitations a limitation of time prescribed in Chapter 2 (commencing with Section 799) of Title 3 of Part 2 shall be tolled from the time of the seizure until the final conclusion of the hearing, including any an associated writ or appellate proceedings.
(3) The warrant shall, whenever practicable, be served during normal business hours. In addition, the warrant shall be served upon a party who appears to have possession or control of the items sought. If, after reasonable efforts, the party serving the warrant is unable to locate the person, the special master shall seal and return to the court, for determination by the court, any an item that appears to be privileged as provided by law.
(d) (1) As used in this section, a “special master” is an attorney who is a member in good standing of the California State Bar and who has been selected from a list of qualified attorneys that is maintained by the State Bar particularly for the purposes of conducting the searches described in this section. These attorneys shall serve without compensation. A special master shall be considered a public employee, and the governmental entity that caused the search warrant to be issued shall be considered the employer of the special master and the applicable public entity, for purposes of Division 3.6 (commencing with Section 810) of Title 1 of the Government Code, relating to claims and actions against public entities and public employees. In selecting the special master, the court shall make every reasonable effort to ensure that the person selected has no relationship with any of the parties involved in the pending matter. Information obtained by the special master shall be confidential and may not be divulged except in direct response to inquiry by the court.
(2) In any a case in which the magistrate determines that, after reasonable efforts have been made to obtain a special master, a special master is not available and would not be available within a reasonable period of time, the magistrate may direct the party seeking the order to conduct the search in the manner described in this section in lieu of the special master.
(e) Any A search conducted pursuant to this section by a special master may be conducted in a manner that permits the party serving the warrant or that party’s designee to accompany the special master as the special master conducts the search. However, that party or that party’s designee may not participate in the search nor shall they examine any of the items being searched by the special master except upon agreement of the party upon whom the warrant has been served.
(f) As used in this section, “documentary evidence” includes, but is not limited to, writings, documents, blueprints, drawings, photographs, computer printouts, microfilms, x-rays, files, diagrams, ledgers, books, tapes, audio and video recordings, films, and papers of any type or description.
(g) No warrant shall issue for any an item or items described in Section 1070 of the Evidence Code.
(h) No warrant shall issue for any an item or items that pertain to an investigation into a prohibited violation, as defined in Section 629.51.
(i) Notwithstanding any other law, no claim of attorney work product as described in Chapter 4 (commencing with Section 2018.010) of Title 4 of Part 4 of the Code of Civil Procedure shall be sustained where there is probable cause to believe that the lawyer is engaging or has engaged in criminal activity related to the documentary evidence for which a warrant is requested unless it is established at the hearing with respect to the documentary evidence seized under the warrant that the services of the lawyer were not sought or obtained to enable or aid anyone to commit or plan to commit a crime or a fraud.
(j) Nothing in this section is intended to limit an attorney’s ability to request an in-camera hearing pursuant to the holding of the Supreme Court of California in People v. Superior Court (Laff) (2001) 25 Cal.4th 703.
(k) In addition to any other circumstance permitting a magistrate to issue a warrant for a person or property in another county, when the property or things to be seized consist of any item or constitute evidence that tends to show a violation of Section 530.5, the magistrate may issue a warrant to search a person or property located in another county if the person whose identifying information was taken or used resides in the same county as the issuing court.
(l) This section shall not be construed to does not create a cause of action against any a foreign or California corporation, its officers, employees, agents, or other specified persons for providing location information.

SEC. 2.

 Section 8103 of the Welfare and Institutions Code is amended to read:

8103.
 (a) (1) A person who after October 1, 1955, has been adjudicated by a court of any state to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless there has been issued to the person a certificate by the court of adjudication upon release from treatment or at a later date stating that the person may possess a firearm, other deadly weapon, or ammunition without endangering others, and the person has not, subsequent to the issuance of the certificate, again been adjudicated by a court to be a danger to others as a result of a mental disorder or mental illness.
(2) The court shall notify the Department of Justice of the court order finding the individual to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice of a certificate issued as described in paragraph (1) as soon as possible, but not later than one court day after issuing the certificate.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of a court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.

(4)Upon issuance of the order finding a person to be a person described in paragraph (1), the court shall inform the person and any person to whom they have provided power of attorney of how, in accordance with applicable state law and local procedure, they may relinquish a firearm, other deadly weapon, or ammunition in the person’s possession, custody, or control and submit a receipt to the court to show proof of relinquishment.

(b) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of murder, mayhem, a violation of Section 207, 209, or 209.5 of the Penal Code in which the victim suffers intentionally inflicted great bodily injury, carjacking or robbery in which the victim suffers great bodily injury, a violation of Section 451 or 452 of the Penal Code involving a trailer coach, as defined in Section 635 of the Vehicle Code, or a dwelling house, a violation of paragraph (1) or (2) of subdivision (a) of former Section 262 of the Penal Code or paragraph (2) or (3) of subdivision (a) of Section 261 of the Penal Code, a violation of Section 459 of the Penal Code in the first degree, assault with intent to commit murder, a violation of Section 220 of the Penal Code in which the victim suffers great bodily injury, a violation of Section 18715, 18725, 18740, 18745, 18750, or 18755 of the Penal Code, or of a felony involving death, great bodily injury, or an act which poses a serious threat of bodily harm to another person, or a violation of the law of any other state or the United States that includes all the elements of any of the above felonies as defined under California law, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(c) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of a crime other than those described in subdivision (b) shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless the court of commitment has found the person to have recovered sanity, pursuant to Section 1026.2 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered their sanity as soon as possible, but not later than one court day after making the finding.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(d) (1) A person found by a court to be mentally incompetent to stand trial, pursuant to Section 1370 or 1370.1 of the Penal Code or the law of any other state or the United States, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless there has been a finding with respect to the person of restoration to competence to stand trial by the committing court, pursuant to Section 1372 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be mentally incompetent, as described in paragraph (1), as soon as possible possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered competence as soon as possible possible, but not later than one court day after making the finding.
(e) (1) A person who has been placed under conservatorship by a court, pursuant to Section 5350 or the law of any other state or the United States, because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition while under the conservatorship if, at the time the conservatorship was ordered or thereafter, the court that imposed the conservatorship found that possession of a firearm, other deadly weapon, or ammunition by the person would present a danger to the safety of the person or to others. Upon placing a person under conservatorship, and prohibiting firearm, other deadly weapon, or ammunition possession by the person, the court shall notify the person of this prohibition. The court shall also inform the person and their conservator of how the person may relinquish a firearm, other deadly weapon, or ammunition in the person’s possession, custody, or control according to local procedures, and the process for submitting a receipt to show the court proof of relinquishment.
(2) The court shall notify the Department of Justice of the court order placing the person under conservatorship and prohibiting firearm, other deadly weapon, or ammunition possession by the person, as described in paragraph (1), as soon as possible possible, but not later than one court day after placing the person under conservatorship. The notice shall include the date the conservatorship was imposed and the date the conservatorship is to be terminated. If the conservatorship is subsequently terminated before the date listed in the notice to the Department of Justice or the court subsequently finds that possession of a firearm, other deadly weapon, or ammunition by the person would no longer present a danger to the safety of the person or others, the court shall notify the Department of Justice as soon as possible, but not later than one court day after terminating the conservatorship.
(3) All information provided to the Department of Justice pursuant to paragraph (2) shall be kept confidential, separate, and apart from all other records maintained by the Department of Justice, and shall be used only to determine eligibility to purchase or possess a firearm, other deadly weapon, or ammunition. A person who knowingly furnishes that information for any other purpose is guilty of a misdemeanor. All the information concerning a person shall be destroyed upon receipt by the Department of Justice of notice of the termination of conservatorship as to that person pursuant to paragraph (2).
(f) (1) (A) A person who has been (i) taken into custody as provided in Section 5150 because that person is a danger to themselves or to others, (ii) assessed within the meaning of Section 5151, and (iii) admitted to a designated facility within the meaning of Sections 5151 and 5152 because that person is a danger to themselves or others shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition for a period of five years after the person is released from the facility.
(B) A person who has been taken into custody, assessed, and admitted as specified in subparagraph (A), and who was previously taken into custody, assessed, and admitted as specified in subparagraph (A) one or more times within a period of one year preceding the most recent admittance, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm for the remainder of their life.
(C) A person described in this paragraph, however, may own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition if the superior court has, pursuant to paragraph (5), found that the people of the State of California have not met their burden pursuant to paragraph (6).
(2) (A) (i) For each person subject to this subdivision, the facility shall, within 24 hours of the time of admission, submit a report to the Department of Justice, on a form prescribed by the Department of Justice, containing information that includes, but is not limited to, the identity of the person and the legal grounds upon which the person was admitted to the facility.
(ii) A report submitted pursuant to this paragraph shall be confidential, except for purposes of the court proceedings described in this subdivision and for determining the eligibility of the person to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition.
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.

(C)Within seven days of receipt of the report from the facility, the Department of Justice shall notify, by email, text message, or certified mail with return receipt requested, a person subject to this subdivision of the following information and shall enter the date that the notification was issued in the person’s state mental health firearms prohibition system information:

(i)The person is prohibited from owning, possessing, controlling, receiving, or purchasing, or attempting to own, possess, control, receive, or purchase, a firearm for a period of five years after the notice by the facility is made to the Department of Justice pursuant to subparagraph (A), or if they are a person as described in subparagraph (B) of paragraph (1), for the remainder of their life.

(ii)The notice shall also state both of the following:

(I)The date when the prohibition commences and the date the prohibition ends.

(II)That the person may petition a court, as provided in this subdivision, for an order permitting the person to own, possess, control, receive, or purchase a firearm.

(3) Prior to, or concurrent with, the discharge, the facility shall inform a person subject to this subdivision that they are prohibited from owning, possessing, controlling, receiving, or purchasing a firearm, other deadly weapon, or ammunition for a period of five years or, if the person was previously taken into custody, assessed, and admitted to custody for a 72-hour hold because they were a danger to themselves or to others during the previous one-year period, for life. The facility shall inform the person that they are required to relinquish a firearm, other deadly weapon, or ammunition that the person owns, possesses, or controls within 72 hours of discharge from the facility and how to relinquish a firearm, other deadly weapon, or ammunition according to state law and local procedures. Simultaneously, the facility shall inform the person that they may request a hearing from a court, as provided in this subdivision, for an order permitting the person to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition. The facility shall also provide the person with a copy of the most recent “Patient Notification of Firearm Prohibition and Right to Hearing Form” prescribed by the Department of Justice. The Department of Justice shall update this form in accordance with the requirements of this section and distribute the updated form to facilities by January 1, 2020. The form shall include information regarding how the person was referred to the facility. The form shall include an authorization for the release of the person’s mental health records, upon request, to the appropriate court, solely for use in the hearing conducted pursuant to paragraph (5). A request for the records may be made by mail to the custodian of records at the facility, and shall not require personal service. The facility shall not submit the form on behalf of the person subject to this subdivision.
(4) The Department of Justice shall provide the form upon request to a person described in paragraph (1). The Department of Justice shall also provide the form to the superior court in each county. The Department of Justice shall also provide a copy of the form upon the request of a law enforcement agency solely for investigative purposes. A person described in paragraph (1) may make a single request for a hearing at any time during the five-year period or period of the lifetime prohibition. The request for hearing shall be made on the form prescribed by the department or in a document that includes equivalent language.
(5) A person who is subject to paragraph (1) who has requested a hearing from the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition shall be given a hearing. The clerk of the court shall set a hearing date and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the plaintiff in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the hearing to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after the request for a hearing, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The court shall set the hearing within 60 days of receipt of the request for a hearing. Upon showing good cause, the district attorney shall be entitled to a continuance not to exceed 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the hearing who shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, declarations, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code shall be admissible at the hearing under this section.
(6) The people shall bear the burden of showing by a preponderance of the evidence that the person would not be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner.
(7) If the court finds at the hearing set forth in paragraph (5) that the people have not met their burden as set forth in paragraph (6), the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition, as appropriate, in this section on the ownership, control, receipt, possession, or purchase of a firearm, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(8) If the district attorney declines or fails to go forward in the hearing, the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition required by this subdivision on the ownership, control, receipt, possession, or purchase of firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall, within 15 days, delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm.
(9) This subdivision does not prohibit the use of reports filed pursuant to this section to determine the eligibility of persons to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition if the person is the subject of a criminal investigation, a part of which involves the ownership, possession, control, receipt, or purchase of a firearm, other deadly weapon, or ammunition.
(10) If the court finds that the people have met their burden to show by a preponderance of the evidence that the person would not be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner and the person is subject to a lifetime firearm prohibition because the person had been admitted as specified in subparagraph (A) of paragraph (1) more than once within the previous one-year period, the court shall inform the person of their right to file a subsequent petition no sooner than five years from the date of the hearing.
(11) A person subject to a lifetime firearm prohibition is entitled to bring subsequent petitions pursuant to this subdivision. A person shall not be entitled to file a subsequent petition, and shall not be entitled to a subsequent hearing, until five years have passed since the determination on the person’s last petition. A hearing on subsequent petitions shall be conducted as described in this subdivision, with the exception that the burden of proof shall be on the petitioner to establish by a preponderance of the evidence that the petitioner can use a firearm in a safe and lawful manner. Subsequent petitions shall be filed in the same court of jurisdiction as the initial petition regarding the lifetime firearm prohibition.
(12) (A) A person who is subject to paragraph (1), within 72 hours of discharge from a facility, shall relinquish a firearm, other deadly weapon, or ammunition that they own, possess, or control in a safe manner by any of the following methods:
(i) Surrender to the control of a law enforcement agency.
(ii) Sell or transfer to a licensed firearms dealer, as specified in Article 1 (commencing with Section 26700) and Article 2 (commencing with Section 26800) of Chapter 2 of Division 6 of Title 4 of Part 6 of the Penal Code.
(iii) Transfer or cause to be transferred to a licensed firearms dealer for storage during the duration of the prohibition pursuant to Section 29830 of the Penal Code.
(iv) Sell or transfer to a nonprohibited third party with whom the prohibited person does not live using a licensed firearms dealer pursuant to Section 28050 of the Penal Code.
(B) The law enforcement agency or licensed firearms dealer taking possession of a firearm, other deadly weapon, or ammunition from a person relinquishing a firearm, other deadly weapon, or ammunition pursuant to this paragraph shall issue a receipt to the person at the time of relinquishment.
(C) The “Patient Notification of Firearm Prohibition and Right to Hearing Form” described in paragraph (3) shall include information about how a person will relinquish their firearm, other deadly weapon, or ammunition pursuant to subparagraph (A).
(g) (1) (A) A person who has been certified for intensive treatment under Section 5250, 5260, or 5270.15 shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition for a period of five years.
(B) A person who meets the criteria contained in subdivision (e) or (f) who is released from intensive treatment shall nevertheless, if applicable, remain subject to the prohibition contained in subdivision (e) or (f).
(2) (A) For each person certified for intensive treatment under paragraph (1), the facility shall, within 24 hours of the certification, submit a report to the Department of Justice, on a form prescribed by the department, containing information regarding the person, including, but not limited to, the legal identity of the person and the legal grounds upon which the person was certified. A report submitted pursuant to this paragraph shall only be used for the purposes specified in paragraph (2) of subdivision (f).
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge of each person certified for intensive treatment under paragraph (1), the facility shall inform the person of that information specified in paragraph (3) of subdivision (f).
(4) A person who is subject to paragraph (1) may petition the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition. At the time the petition is filed, the clerk of the court shall set a hearing date within 60 days of receipt of the petition and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the respondent in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the petition to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after receiving notice of the petition, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The district attorney shall be entitled to a continuance of the hearing to a date of not less than 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the petition, and the county behavioral health director shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, a declaration, police report, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code, shall be admissible at the hearing under this section. If the court finds by a preponderance of the evidence that the person would be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner, the court may order that the person may own, control, receive, possess, or purchase a firearm, other deadly weapon, or ammunition ammunition, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm, other deadly weapon, or ammunition. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition from the person’s state mental health firearms prohibition system information.
(h) (1) For all persons identified in subdivisions (f) and (g), a facility shall report to the Department of Justice Justice, as specified in those subdivisions subdivisions, except a facility shall not report a person under subdivision (g) if the same person was previously reported under subdivision (f).
(2) Additionally, a facility shall report to the Department of Justice upon the discharge of persons from whom reports have been submitted pursuant to subdivision (f) or (g). However, a report shall not be filed for persons who are discharged within 31 days after the date of admission.
(i) (1) A person, who has been found by a court, on or after July 1, 2024, to be prohibited from owning or controlling a firearm, other deadly weapon, or ammunition because they are a danger to themselves or others and has been granted pretrial mental health diversion pursuant to subdivision (m) of Section 1001.36 of the Penal Code, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition until the person successfully completes diversion or their rights are restored pursuant to paragraph (4) of subdivision (g).
(2) The court shall notify the Department of Justice of the court order finding the person to be an individual described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice that the person has successfully completed diversion as soon as possible, but not later than one court day after completion.
(j) Every person who owns or possesses or has custody or control of, or purchases or receives, or attempts to purchase or receive, a firearm, other deadly weapon, or ammunition in violation of this section shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code or in a county jail for not more than one year.
(k) “Deadly weapon,” as used in this section, has the meaning prescribed by Section 8100.
(l) A notice or report required to be submitted to the Department of Justice pursuant to this section shall be submitted in an electronic format, in a manner prescribed by the Department of Justice.

SEC. 2.1.

 Section 8103 of the Welfare and Institutions Code is amended to read:

8103.
 (a) (1) A person who after October 1, 1955, has been adjudicated by a court of any state to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm or any other deadly weapon firearm, other deadly weapon, or ammunition unless there has been issued to the person a certificate by the court of adjudication upon release from treatment or at a later date stating that the person may possess a firearm or any other deadly weapon firearm, other deadly weapon, or ammunition without endangering others, and the person has not, subsequent to the issuance of the certificate, again been adjudicated by a court to be a danger to others as a result of a mental disorder or mental illness.
(2) The court shall notify the Department of Justice of the court order finding the individual to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice of any a certificate issued as described in paragraph (1) as soon as possible, but not later than one court day after issuing the certificate.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of a court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(b) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of murder, mayhem, a violation of Section 207, 209, or 209.5 of the Penal Code in which the victim suffers intentionally inflicted great bodily injury, carjacking or robbery in which the victim suffers great bodily injury, a violation of Section 451 or 452 of the Penal Code involving a trailer coach, as defined in Section 635 of the Vehicle Code, or any a dwelling house, a violation of paragraph (1) or (2) of subdivision (a) of former Section 262 of the Penal Code or paragraph (2) or (3) of subdivision (a) of Section 261 of the Penal Code, a violation of Section 459 of the Penal Code in the first degree, assault with intent to commit murder, a violation of Section 220 of the Penal Code in which the victim suffers great bodily injury, a violation of Section 18715, 18725, 18740, 18745, 18750, or 18755 of the Penal Code, or of a felony involving death, great bodily injury, or an act which poses a serious threat of bodily harm to another person, or a violation of the law of any other state or the United States that includes all the elements of any of the above felonies as defined under California law, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of any firearm or any other deadly weapon. a firearm, other deadly weapon, or ammunition.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(c) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of any a crime other than those described in subdivision (b) shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of any firearm or any other deadly weapon a firearm, other deadly weapon, or ammunition unless the court of commitment has found the person to have recovered sanity, pursuant to Section 1026.2 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered their sanity as soon as possible, but not later than one court day after making the finding.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(d) (1) A person found by a court to be mentally incompetent to stand trial, pursuant to Section 1370 or 1370.1 of the Penal Code or the law of any other state or the United States, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of any firearm or any other deadly weapon, a firearm, other deadly weapon, or ammunition unless there has been a finding with respect to the person of restoration to competence to stand trial by the committing court, pursuant to Section 1372 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be mentally incompetent incompetent, as described in paragraph (1) (1), as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered competence as soon as possible, but not later than one court day after making the finding.
(e) (1) A person who has been placed under conservatorship by a court, pursuant to Section 5350 or the law of any other state or the United States, because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of any firearm or any other deadly weapon a firearm, other deadly weapon, or ammunition while under the conservatorship if, at the time the conservatorship was ordered or thereafter, the court that imposed the conservatorship found that possession of a firearm or any other deadly weapon firearm, other deadly weapon, or ammunition by the person would present a danger to the safety of the person or to others. Upon placing a person under conservatorship, and prohibiting firearm or any other deadly weapon firearm, other deadly weapon, or ammunition possession by the person, the court shall notify the person of this prohibition. The court shall also inform the person and their conservator of how the person may relinquish a firearm, other deadly weapon, or ammunition in the person’s possession, custody, or control according to local procedures, and the process for submitting a receipt to show the court proof of relinquishment.
(2) The court shall notify the Department of Justice of the court order placing the person under conservatorship and prohibiting firearm or any other deadly weapon firearm, other deadly weapon, or ammunition possession by the person person, as described in paragraph (1) (1), as soon as possible, but not later than one court day after placing the person under conservatorship. The notice shall include the date the conservatorship was imposed and the date the conservatorship is to be terminated. If the conservatorship is subsequently terminated before the date listed in the notice to the Department of Justice or the court subsequently finds that possession of a firearm or any other deadly weapon firearm, other deadly weapon, or ammunition by the person would no longer present a danger to the safety of the person or others, the court shall notify the Department of Justice as soon as possible, but not later than one court day after terminating the conservatorship.
(3) All information provided to the Department of Justice pursuant to paragraph (2) shall be kept confidential, separate, and apart from all other records maintained by the Department of Justice, and shall be used only to determine eligibility to purchase or possess firearms or other deadly weapons. a firearm, other deadly weapon, or ammunition. A person who knowingly furnishes that information for any other purpose is guilty of a misdemeanor. All the information concerning any a person shall be destroyed upon receipt by the Department of Justice of notice of the termination of conservatorship as to that person pursuant to paragraph (2).
(f) (1) (A) A person who has been (i) taken into custody as provided in Section 5150 because that person is a danger to themselves or to others, (ii) assessed within the meaning of Section 5151, and (iii) admitted to a designated facility within the meaning of Sections 5151 and 5152 because that person is a danger to themselves or others, others shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm a firearm, other deadly weapon, or ammunition for a period of five years after the person is released from the facility.
(B) A person who has been taken into custody, assessed, and admitted as specified in subparagraph (A), and who was previously taken into custody, assessed, and admitted as specified in subparagraph (A) one or more times within a period of one year preceding the most recent admittance, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any a firearm for the remainder of their life.
(C) A person described in this paragraph, however, may own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase any firearm a firearm, other deadly weapon, or ammunition if the superior court has, pursuant to paragraph (5), found that the people of the State of California have not met their burden pursuant to paragraph (6).
(2) (A) (i) For each person subject to this subdivision, the facility shall, within 24 hours of the time of admission, submit a report to the Department of Justice, on a form prescribed by the Department of Justice, containing information that includes, but is not limited to, the identity of the person and the legal grounds upon which the person was admitted to the facility.
(ii) Any A report submitted pursuant to this paragraph shall be confidential, except for purposes of the court proceedings described in this subdivision and for determining the eligibility of the person to own, possess, control, receive, or purchase a firearm. firearm, other deadly weapon, or ammunition.
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge, the facility shall inform a person subject to this subdivision that they are prohibited from owning, possessing, controlling, receiving, or purchasing any firearm a firearm, other deadly weapon, or ammunition for a period of five years or, if the person was previously taken into custody, assessed, and admitted to custody for a 72-hour hold because they were a danger to themselves or to others during the previous one-year period, for life. The facility shall inform the person that they are required to relinquish a firearm, other deadly weapon, or ammunition that the person owns, possesses, or controls within 72 hours of discharge from the facility and how to relinquish a firearm, other deadly weapon, or ammunition according to state law and local procedures. Simultaneously, the facility shall inform the person that they may request a hearing from a court, as provided in this subdivision, for an order permitting the person to own, possess, control, receive, or purchase a firearm. firearm, other deadly weapon, or ammunition. The facility shall also provide the person with a copy of the most recent “Patient Notification of Firearm Prohibition and Right to Hearing Form” prescribed by the Department of Justice. The Department of Justice shall update this form in accordance with the requirements of this section and distribute the updated form to facilities by January 1, 2020. The form shall include information regarding how the person was referred to the facility. The form shall include an authorization for the release of the person’s mental health records, upon request, to the appropriate court, solely for use in the hearing conducted pursuant to paragraph (5). A request for the records may be made by mail to the custodian of records at the facility, and shall not require personal service. The facility shall not submit the form on behalf of the person subject to this subdivision.
(4) The Department of Justice shall provide the form upon request to any a person described in paragraph (1). The Department of Justice shall also provide the form to the superior court in each county. The Department of Justice shall also provide a copy of the form upon the request of a law enforcement agency solely for investigative purposes. A person described in paragraph (1) may make a single request for a hearing at any time during the five-year period or period of the lifetime prohibition. The request for hearing shall be made on the form prescribed by the department or in a document that includes equivalent language.
(5) A person who is subject to paragraph (1) who has requested a hearing from the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase firearms a firearm, other deadly weapon, or ammunition shall be given a hearing. The clerk of the court shall set a hearing date and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the plaintiff in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the hearing to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after the request for a hearing, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The court shall set the hearing within 60 days of receipt of the request for a hearing. Upon showing good cause, the district attorney shall be entitled to a continuance not to exceed 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the hearing who shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, declarations, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code shall be admissible at the hearing under this section.
(6) The people shall bear the burden of showing by a preponderance of the evidence that the person would not be likely to use firearms a firearm, other deadly weapon, or ammunition in a safe and lawful manner.
(7) If the court finds at the hearing set forth in paragraph (5) that the people have not met their burden as set forth in paragraph (6), the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition, as appropriate, in this section on the ownership, control, receipt, possession, or purchase of firearms, a firearm, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. a firearm. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(8) If the district attorney declines or fails to go forward in the hearing, the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition required by this subdivision on the ownership, control, receipt, possession, or purchase of firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall, within 15 days, delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. a firearm.
(9) This subdivision does not prohibit the use of reports filed pursuant to this section to determine the eligibility of persons to own, possess, control, receive, or purchase a firearm firearm, other deadly weapon, or ammunition if the person is the subject of a criminal investigation, a part of which involves the ownership, possession, control, receipt, or purchase of a firearm. firearm, other deadly weapon, or ammunition.
(10) If the court finds that the people have met their burden to show by a preponderance of the evidence that the person would not be likely to use firearms a firearm, other deadly weapon, or ammunition in a safe and lawful manner and the person is subject to a lifetime firearm prohibition because the person had been admitted as specified in subparagraph (A) of paragraph (1) more than once within the previous one-year period, the court shall inform the person of their right to file a subsequent petition no sooner than five years from the date of the hearing.
(11) A person subject to a lifetime firearm prohibition is entitled to bring subsequent petitions pursuant to this subdivision. A person shall not be entitled to file a subsequent petition, and shall not be entitled to a subsequent hearing, until five years have passed since the determination on the person’s last petition. A hearing on subsequent petitions shall be conducted as described in this subdivision, with the exception that the burden of proof shall be on the petitioner to establish by a preponderance of the evidence that the petitioner can use a firearm in a safe and lawful manner. Subsequent petitions shall be filed in the same court of jurisdiction as the initial petition regarding the lifetime firearm prohibition.
(12) (A) A person who is subject to paragraph (1), within 72 hours of discharge from a facility, shall relinquish a firearm, other deadly weapon, or ammunition that they own, possess, or control in a safe manner by any of the following methods:
(i) Surrender to the control of a law enforcement agency.
(ii) Sell or transfer to a licensed firearms dealer, as specified in Article 1 (commencing with Section 26700) and Article 2 (commencing with Section 26800) of Chapter 2 of Division 6 of Title 4 of Part 6 of the Penal Code.
(iii) Transfer or cause to be transferred to a licensed firearms dealer for storage during the duration of the prohibition pursuant to Section 29830 of the Penal Code.
(iv) Sell or transfer to a nonprohibited third party with whom the prohibited person does not live using a licensed firearms dealer pursuant to Section 28050 of the Penal Code.
(B) The law enforcement agency or licensed firearms dealer taking possession of a firearm, other deadly weapon, or ammunition from a person relinquishing a firearm, other deadly weapon, or ammunition pursuant to this paragraph shall issue a receipt to the person at the time of relinquishment.
(C) The “Patient Notification of Firearm Prohibition and Right to Hearing Form” described in paragraph (3) shall include information about how a person will relinquish their firearm, other deadly weapon, or ammunition pursuant to subparagraph (A).
(g) (1) (A) A person who has been certified for intensive treatment under Section 5250, 5260, or 5270.15 shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm a firearm, other deadly weapon, or ammunition for a period of five years.
(B) Any A person who meets the criteria contained in subdivision (e) or (f) who is released from intensive treatment shall nevertheless, if applicable, remain subject to the prohibition contained in subdivision (e) or (f).
(2) (A) For each person certified for intensive treatment under paragraph (1), the facility shall, within 24 hours of the certification, submit a report to the Department of Justice, on a form prescribed by the department, containing information regarding the person, including, but not limited to, the legal identity of the person and the legal grounds upon which the person was certified. A report submitted pursuant to this paragraph shall only be used for the purposes specified in paragraph (2) of subdivision (f).
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge of each person certified for intensive treatment under paragraph (1), the facility shall inform the person of that information specified in paragraph (3) of subdivision (f).
(4) A person who is subject to paragraph (1) may petition the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase firearms. a firearm, other deadly weapon, or ammunition. At the time the petition is filed, the clerk of the court shall set a hearing date within 60 days of receipt of the petition and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the respondent in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the petition to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after receiving notice of the petition, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The district attorney shall be entitled to a continuance of the hearing to a date of not less than 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the petition, and the county behavioral health director shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, any a declaration, police reports, report, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code, shall be admissible at the hearing under this section. If the court finds by a preponderance of the evidence that the person would be likely to use firearms a firearm, other deadly weapon, or ammunition in a safe and lawful manner, the court may order that the person may own, control, receive, possess, or purchase firearms, a firearm, other deadly weapon, or ammunition, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. a firearm, other deadly weapon, or ammunition. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(h) (1) For all persons identified in subdivisions (f) and (g), facilities a facility shall report to the Department of Justice Justice, as specified in those subdivisions, except facilities a facility shall not report persons a person under subdivision (g) if the same persons previously have been person was previously reported under subdivision (f).
(2) Additionally, all facilities a facility shall report to the Department of Justice upon the discharge of persons from whom reports have been submitted pursuant to subdivision (f) or (g). However, a report shall not be filed for persons who are discharged within 31 days after the date of admission.
(i) (1) A person, who has been found by a court, on or after July 1, 2024, to be prohibited from owning or controlling a firearm firearm, other deadly weapon, or ammunition because they are a danger to themselves or others and has been granted pretrial mental health diversion pursuant to subdivision (m) of Section 1001.36 of the Penal Code, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm a firearm, other deadly weapon, or ammunition until the person successfully completes diversion or their firearm rights are restored pursuant to paragraph (4) of subdivision (g).
(2) The court shall notify the Department of Justice of the court order finding the person to be an individual described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice that the person has successfully completed diversion as soon as possible, but not later than one court day after completion.
(j) Every person who owns or possesses or has custody or control of, or purchases or receives, or attempts to purchase or receive, any firearm or any other deadly weapon a firearm, other deadly weapon, or ammunition in violation of this section shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code or in a county jail for not more than one year.
(k) “Deadly weapon,” as used in this section, has the meaning prescribed by Section 8100.
(l) Any A notice or report required to be submitted to the Department of Justice pursuant to this section shall be submitted in an electronic format, in a manner prescribed by the Department of Justice.
(m) This section shall remain in effect only until September 1, 2025, and as of that date is repealed.

SEC. 2.2.

 Section 8103 is added to the Welfare and Institutions Code, to read:

8103.
 (a) (1) A person who after October 1, 1955, has been adjudicated by a court of any state to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless there has been issued to the person a certificate by the court of adjudication upon release from treatment or at a later date stating that the person may possess a firearm, other deadly weapon, or ammunition without endangering others, and the person has not, subsequent to the issuance of the certificate, again been adjudicated by a court to be a danger to others as a result of a mental disorder or mental illness.
(2) The court shall notify the Department of Justice of the court order finding the individual to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the department of a certificate issued as described in paragraph (1) as soon as possible, but not later than one court day after issuing the certificate.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of a court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(b) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of murder, mayhem, a violation of Section 207, 209, or 209.5 of the Penal Code in which the victim suffers intentionally inflicted great bodily injury, carjacking or robbery in which the victim suffers great bodily injury, a violation of Section 451 or 452 of the Penal Code involving a trailer coach, as defined in Section 635 of the Vehicle Code, or a dwelling house, a violation of paragraph (1) or (2) of subdivision (a) of former Section 262 of the Penal Code or paragraph (2) or (3) of subdivision (a) of Section 261 of the Penal Code, a violation of Section 459 of the Penal Code in the first degree, assault with intent to commit murder, a violation of Section 220 of the Penal Code in which the victim suffers great bodily injury, a violation of Section 18715, 18725, 18740, 18745, 18750, or 18755 of the Penal Code, or of a felony involving death, great bodily injury, or an act which poses a serious threat of bodily harm to another person, or a violation of the law of any other state or the United States that includes all the elements of any of the above felonies as defined under California law, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(c) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of a crime other than those described in subdivision (b) shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless the court of commitment has found the person to have recovered sanity, pursuant to Section 1026.2 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered their sanity as soon as possible, but not later than one court day after making the finding.
(3) A person described in paragraph (1) shall, in accordance with applicable state law and local procedure, relinquish to law enforcement a firearm, other deadly weapon, or ammunition in their custody or control within 14 days of the court order finding the person to be a person described in paragraph (1) and submit a receipt to the court to show proof of relinquishment.
(d) (1) A person found by a court to be mentally incompetent to stand trial, pursuant to Section 1370, 1370.01, 1370.02, or 1370.1 of the Penal Code or the law of any other state or the United States, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition unless there has been a finding with respect to the person of restoration to competence to stand trial by the committing court, pursuant to Section 1370.01 or 1372 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be mentally incompetent, as described in paragraph (1), as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered competence as soon as possible, but not later than one court day after making the finding.
(e) (1) A person who has been placed under conservatorship by a court, pursuant to Section 5350 or the law of any other state or the United States, because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism, shall not purchase or receive, or attempt to purchase or receive, or have possession, custody, or control of a firearm, other deadly weapon, or ammunition while under the conservatorship if, at the time the conservatorship was ordered or thereafter, the court that imposed the conservatorship found that possession of a firearm, other deadly weapon, or ammunition by the person would present a danger to the safety of the person or to others. Upon placing a person under conservatorship, and prohibiting firearm, other deadly weapon, or ammunition possession by the person, the court shall notify the person of this prohibition. The court shall also inform the person and their conservator of how the person may relinquish a firearm, other deadly weapon, or ammunition in the person’s possession, custody, or control according to local procedures, and the process for submitting a receipt to show the court proof of relinquishment.
(2) The court shall notify the Department of Justice of the court order placing the person under conservatorship and prohibiting firearm, other deadly weapon, or ammunition possession by the person, as described in paragraph (1), as soon as possible, but not later than one court day after placing the person under conservatorship. The notice shall include the date the conservatorship was imposed and the date the conservatorship is to be terminated. If the conservatorship is subsequently terminated before the date listed in the notice to the Department of Justice or the court subsequently finds that possession of a firearm, other deadly weapon, or ammunition by the person would no longer present a danger to the safety of the person or others, the court shall notify the Department of Justice as soon as possible, but not later than one court day after terminating the conservatorship.
(3) All information provided to the Department of Justice pursuant to paragraph (2) shall be kept confidential, separate, and apart from all other records maintained by the Department of Justice, and shall be used only to determine eligibility to purchase or possess a firearm, other deadly weapon, or ammunition. A person who knowingly furnishes that information for any other purpose is guilty of a misdemeanor. All the information concerning a person shall be destroyed upon receipt by the Department of Justice of notice of the termination of conservatorship as to that person pursuant to paragraph (2).
(f) (1) (A) A person who has been (i) taken into custody as provided in Section 5150 because that person is a danger to themselves or to others, (ii) assessed within the meaning of Section 5151, and (iii) admitted to a designated facility within the meaning of Sections 5151 and 5152 because that person is a danger to themselves or others shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition for a period of five years after the person is released from the facility.
(B) A person who has been taken into custody, assessed, and admitted as specified in subparagraph (A), and who was previously taken into custody, assessed, and admitted as specified in subparagraph (A) one or more times within a period of one year preceding the most recent admittance, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm for the remainder of their life.
(C) A person described in this paragraph, however, may own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition if the superior court has, pursuant to paragraph (5), found that the people of the State of California have not met their burden pursuant to paragraph (6).
(2) (A) (i) For each person subject to this subdivision, the facility shall, within 24 hours of the time of admission, submit a report to the Department of Justice, on a form prescribed by the Department of Justice, containing information that includes, but is not limited to, the identity of the person and the legal grounds upon which the person was admitted to the facility.
(ii) A report submitted pursuant to this paragraph shall be confidential, except for purposes of the court proceedings described in this subdivision and for determining the eligibility of the person to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition.
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge, the facility shall inform a person subject to this subdivision that they are prohibited from owning, possessing, controlling, receiving, or purchasing a firearm, other deadly weapon, or ammunition for a period of five years or, if the person was previously taken into custody, assessed, and admitted to custody for a 72-hour hold because they were a danger to themselves or to others during the previous one-year period, for life. The facility shall inform the person that they are required to relinquish a firearm, other deadly weapon, or ammunition that the person owns, possesses, or controls within 72 hours of discharge from the facility and how to relinquish a firearm, other deadly weapon, or ammunition according to state law and local procedures. Simultaneously, the facility shall inform the person that they may request a hearing from a court, as provided in this subdivision, for an order permitting the person to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition. The facility shall also provide the person with a copy of the most recent “Patient Notification of Firearm Prohibition and Right to Hearing Form” prescribed by the Department of Justice. The Department of Justice shall update this form in accordance with the requirements of this section and distribute the updated form to facilities by January 1, 2020. The form shall include information regarding how the person was referred to the facility. The form shall include an authorization for the release of the person’s mental health records, upon request, to the appropriate court, solely for use in the hearing conducted pursuant to paragraph (5). A request for the records may be made by mail to the custodian of records at the facility, and shall not require personal service. The facility shall not submit the form on behalf of the person subject to this subdivision.
(4) The Department of Justice shall provide the form upon request to a person described in paragraph (1). The Department of Justice shall also provide the form to the superior court in each county. The Department of Justice shall also provide a copy of the form upon the request of a law enforcement agency solely for investigative purposes. A person described in paragraph (1) may make a single request for a hearing at any time during the five-year period or period of the lifetime prohibition. The request for hearing shall be made on the form prescribed by the department or in a document that includes equivalent language.
(5) A person who is subject to paragraph (1) who has requested a hearing from the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition shall be given a hearing. The clerk of the court shall set a hearing date and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the plaintiff in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the hearing to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after the request for a hearing, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The court shall set the hearing within 60 days of receipt of the request for a hearing. Upon showing good cause, the district attorney shall be entitled to a continuance not to exceed 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the hearing who shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, declarations, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code shall be admissible at the hearing under this section.
(6) The people shall bear the burden of showing by a preponderance of the evidence that the person would not be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner.
(7) If the court finds at the hearing set forth in paragraph (5) that the people have not met their burden as set forth in paragraph (6), the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition, as appropriate, in this section on the ownership, control, receipt, possession, or purchase of a firearm, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(8) If the district attorney declines or fails to go forward in the hearing, the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition required by this subdivision on the ownership, control, receipt, possession, or purchase of firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall, within 15 days, delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm.
(9) This subdivision does not prohibit the use of reports filed pursuant to this section to determine the eligibility of persons to own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition if the person is the subject of a criminal investigation, a part of which involves the ownership, possession, control, receipt, or purchase of a firearm, other deadly weapon, or ammunition.
(10) If the court finds that the people have met their burden to show by a preponderance of the evidence that the person would not be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner and the person is subject to a lifetime firearm prohibition because the person had been admitted as specified in subparagraph (A) of paragraph (1) more than once within the previous one-year period, the court shall inform the person of their right to file a subsequent petition no sooner than five years from the date of the hearing.
(11) A person subject to a lifetime firearm prohibition is entitled to bring subsequent petitions pursuant to this subdivision. A person shall not be entitled to file a subsequent petition, and shall not be entitled to a subsequent hearing, until five years have passed since the determination on the person’s last petition. A hearing on subsequent petitions shall be conducted as described in this subdivision, with the exception that the burden of proof shall be on the petitioner to establish by a preponderance of the evidence that the petitioner can use a firearm in a safe and lawful manner. Subsequent petitions shall be filed in the same court of jurisdiction as the initial petition regarding the lifetime firearm prohibition.
(12) (A) A person who is subject to paragraph (1), within 72 hours of discharge from a facility, shall relinquish a firearm, other deadly weapon, or ammunition that they own, possess, or control in a safe manner by any of the following methods:
(i) Surrender to the control of a law enforcement agency.
(ii) Sell or transfer to a licensed firearms dealer, as specified in Article 1 (commencing with Section 26700) and Article 2 (commencing with Section 26800) of Chapter 2 of Division 6 of Title 4 of Part 6 of the Penal Code.
(iii) Transfer or cause to be transferred to a licensed firearms dealer for storage during the duration of the prohibition pursuant to Section 29830 of the Penal Code.
(iv) Sell or transfer to a nonprohibited third party with whom the prohibited person does not live using a licensed firearms dealer pursuant to Section 28050 of the Penal Code.
(B) The law enforcement agency or licensed firearms dealer taking possession of a firearm, other deadly weapon, or ammunition from a person relinquishing a firearm, other deadly weapon, or ammunition pursuant to this paragraph shall issue a receipt to the person at the time of relinquishment.
(C) The “Patient Notification of Firearm Prohibition and Right to Hearing Form” described in paragraph (3) shall include information about how a person will relinquish their firearm, other deadly weapon, or ammunition pursuant to subparagraph (A).
(g) (1) (A) A person who has been certified for intensive treatment under Section 5250, 5260, or 5270.15 shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition for a period of five years.
(B) A person who meets the criteria contained in subdivision (e) or (f) who is released from intensive treatment shall nevertheless, if applicable, remain subject to the prohibition contained in subdivision (e) or (f).
(2) (A) For each person certified for intensive treatment under paragraph (1), the facility shall, within 24 hours of the certification, submit a report to the Department of Justice, on a form prescribed by the department, containing information regarding the person, including, but not limited to, the legal identity of the person and the legal grounds upon which the person was certified. A report submitted pursuant to this paragraph shall only be used for the purposes specified in paragraph (2) of subdivision (f).
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge of each person certified for intensive treatment under paragraph (1), the facility shall inform the person of that information specified in paragraph (3) of subdivision (f).
(4) A person who is subject to paragraph (1) may petition the superior court of the county of their residence for an order that they may own, possess, control, receive, or purchase a firearm, other deadly weapon, or ammunition. At the time the petition is filed, the clerk of the court shall set a hearing date within 60 days of receipt of the petition and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the respondent in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the petition to the county in which the person resided at the time of their detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after receiving notice of the petition, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The district attorney shall be entitled to a continuance of the hearing to a date of not less than 30 days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the petition, and the county behavioral health director shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, a declaration, police report, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code, shall be admissible at the hearing under this section. If the court finds by a preponderance of the evidence that the person would be likely to use a firearm, other deadly weapon, or ammunition in a safe and lawful manner, the court may order that the person may own, control, receive, possess, or purchase a firearm, other deadly weapon, or ammunition, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of a firearm, other deadly weapon, or ammunition. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition from the person’s state mental health firearms prohibition system information.
(h) (1) For all persons identified in subdivisions (f) and (g), a facility shall report to the Department of Justice, as specified in those subdivisions, except facilities shall not report a person under subdivision (g) if the same person was previously reported under subdivision (f).
(2) Additionally, a facility shall report to the Department of Justice upon the discharge of persons from whom reports have been submitted pursuant to subdivision (f) or (g). However, a report shall not be filed for persons who are discharged within 31 days after the date of admission.
(i) (1) A person, who has been found by a court, on or after July 1, 2024, to be prohibited from owning or controlling a firearm, other deadly weapon, or ammunition because they are a danger to themselves or others and has been granted pretrial mental health diversion pursuant to subdivision (m) of Section 1001.36 of the Penal Code, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, a firearm, other deadly weapon, or ammunition until the person successfully completes diversion or their rights are restored pursuant to paragraph (4) of subdivision (g).
(2) The court shall notify the Department of Justice of the court order finding the person to be an individual described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice that the person has successfully completed diversion as soon as possible, but not later than one court day after completion.
(j) Every person who owns or possesses or has custody or control of, or purchases or receives, or attempts to purchase or receive, a firearm, other deadly weapon, or ammunition in violation of this section shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code or in a county jail for not more than one year.
(k) “Deadly weapon,” as used in this section, has the meaning prescribed by Section 8100.
(l) A notice or report required to be submitted to the Department of Justice pursuant to this section shall be submitted in an electronic format, in a manner prescribed by the Department of Justice.
(m) This section shall become operative on September 1, 2025.

SEC. 3.

 (a) Section 1.5 of this bill incorporates amendments to Section 1524 of the Penal Code proposed by both this bill and Senate Bill 899. That section of this bill shall only become operative if (1) both bills are enacted and become effective on or before January 1, 2025, (2) each bill amends Section 1524 of the Penal Code, and (3) this bill is enacted after Senate Bill 899, in which case Section 1 of this bill shall not become operative.
(b) Sections 2.1 and 2.2 of this bill incorporate amendments to Section 8103 of the Welfare and Institutions Code proposed by both this bill and Assembly Bill 2629. Those sections of this bill shall only become operative if (1) both bills are enacted and become effective on or before January 1, 2025, (2) this bill amends Section 8103 of the Welfare and Institutions Code and Assembly Bill 2629 amends, repeals, and adds Section 8103 of the Welfare and Institutions Code, and (3) this bill is enacted after Assembly Bill 2629, in which case Section 2 of this bill and Sections 3 and 4 of Assembly Bill 2629 shall not become operative.

SEC. 3.SEC. 4.

 No reimbursement is required by this act pursuant to Section 6 of Article XIII B of the California Constitution because the only costs that may be incurred by a local agency or school district will be incurred because this act creates a new crime or infraction, eliminates a crime or infraction, or changes the penalty for a crime or infraction, within the meaning of Section 17556 of the Government Code, or changes the definition of a crime within the meaning of Section 6 of Article XIII B of the California Constitution.