reglab/housing_qa huggingface dataset:
CA Penal Code § 1324.1 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 2 - Who May Be Witnesses in Criminal Actions|Section 1324.1.

1324.1.  In any misdemeanor proceeding in any court, if a person refuses to answer a question or produce evidence of any other kind on the ground that he may be incriminated thereby, the person may agree in writing with the district attorney of the county, or the prosecuting attorney of a city, as the case may be, to testify voluntarily pursuant to this section. Upon written request of such district attorney, or prosecuting attorney, the court having jursidiction of the proceeding shall approve such written agreement, unless the court finds that to do so would be clearly contrary to the public interest. If, after court approval of such agreement, and if, but for this section, the person would have been privileged to withhold the answer given or the evidence produced by him, that person shall not be prosecuted or subjected to penalty or forfeiture for or on account of any fact or act concerning which, in accordance with such agreement, he answered or produced evidence, but he may, nevertheless, be prosecuted or subjected to penalty or forfeiture for any perjury, false swearing or contempt committed in answering or in producing evidence in accordance with such agreement. If such person fails to give any answer or to produce any evidence in accordance with such agreement, that person shall be prosecuted or subjected to penalty or forfeiture in the same manner and to the same extent as he would be prosecuted or subjected to penalty or forfeiture but for this section.(Added by Stats. 1968, Ch. 528.)
CA Penal Code § 1324.2 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 2 - Who May Be Witnesses in Criminal Actions|Section 1324.2.

1324.2.  (a) Testimony of a victim or witness in a felony prosecution for a violation or attempted violation of Section 220, 243.4, 261, 261.5, 286, 287, 288, or 289, that states that the victim or witness, at or around the time of the violation or attempted violation, unlawfully possessed or used a controlled substance or alcohol is inadmissible in a separate prosecution of that victim or witness to prove illegal possession or use of that controlled substance or alcohol.(b) Evidence that the testifying witness unlawfully possessed or used a controlled substance or alcohol is not excluded in the felony prosecution of a violation or attempted violation of Section 220, 243.4, 261, 261.5, 286, 287, 288, or 289.(c) Evidence that a witness received use immunity for testimony pursuant to subdivision (a) is not excluded in the felony prosecution of a violation or attempted violation of Section 220, 243.4, 261, 261.5, 286, 287, 288, or 289.(Added by Stats. 2020, Ch. 241, Sec. 1. (AB 1927) Effective January 1, 2021.)
CA Penal Code § 1326 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1326.

1326.  (a) The process by which the attendance of a witness before a court or magistrate is required is a subpoena. It may be signed and issued by any of the following:(1) A magistrate before whom a complaint is laid or his or her clerk, the district attorney or his or her investigator, or the public defender or his or her investigator, for witnesses in the state.(2) The district attorney, his or her investigator, or, upon request of the grand jury, any judge of the superior court, for witnesses in the state, in support of an indictment or information, to appear before the court in which it is to be tried.(3) The district attorney or his or her investigator, the public defender or his or her investigator, or the clerk of the court in which a criminal action is to be tried. The clerk shall, at any time, upon application of the defendant, and without charge, issue as many blank subpoenas, subscribed by him or her, for witnesses in the state, as the defendant may require.(4) The attorney of record for the defendant.(b) A subpoena issued in a criminal action that commands the custodian of records or other qualified witness of a business to produce books, papers, documents, or records shall direct that those items be delivered by the custodian or qualified witness in the manner specified in subdivision (b) of Section 1560 of the Evidence Code. Subdivision (e) of Section 1560 of the Evidence Code shall not apply to criminal cases.(c) In a criminal action, no party, or attorney or representative of a party, may issue a subpoena commanding the custodian of records or other qualified witness of a business to provide books, papers, documents, or records, or copies thereof, relating to a person or entity other than the subpoenaed person or entity in any manner other than that specified in subdivision (b) of Section 1560 of the Evidence Code. When a defendant has issued a subpoena to a person or entity that is not a party for the production of books, papers, documents, or records, or copies thereof, the court may order an in camera hearing to determine whether or not the defense is entitled to receive the documents. The court may not order the documents disclosed to the prosecution except as required by Section 1054.3.(d) This section shall not be construed to prohibit obtaining books, papers, documents, or records with the consent of the person to whom the books, papers, documents, or records relate.(Amended by Stats. 2007, Ch. 263, Sec. 30. Effective January 1, 2008.)
CA Penal Code § 1326.2 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1326.2.

1326.2.  (a) An order for the production of escrow or title records in whatever form and however stored shall be issued by a judge only upon a written ex parte application by a peace officer showing specific and articulable facts that there are reasonable grounds to believe that the records or information sought are relevant and material to an ongoing investigation of a felony violation of Section 186.10 or of any felony subject to the enhancement set forth in Section 186.11. The ex parte application shall specify with particularity the records to be produced, which shall be only those of the individual or individuals who are the subject of the criminal investigation. The ex parte application and any subsequent judicial order shall be open to the public as a judicial record unless ordered sealed by the court, for a period of 60 days. The sealing of these records may be extended for 60-day periods upon a showing to the court that it is necessary for the continuance of the investigation. Sixty-day extensions may continue for up to one year or until termination of the investigation of the individual or individuals, whichever is sooner. The records ordered to be produced shall be returned to the peace officer applicant or his or her designee within a reasonable time period after service of the order upon the holder of the escrow or title records.(b) As used in subdivision (a), “holder of escrow or title records” means a title insurer that engages in the “business of title insurance,” as defined by Section 12340.3 of the Insurance Code, an underwritten title company, or an escrow company.(c) Nothing in this section shall preclude the holder of the escrow or title records from notifying a customer of the receipt of the order for production of records unless a court orders the holder of the escrow or title records to withhold notification to the customer upon a finding that this notice would impede the investigation. Where a court has made an order to withhold notification to the customer under this subdivision, the peace officer or law enforcement agency who obtained the escrow or title records shall notify the customer by delivering a copy of the ex parte order to the customer within 10 days of the termination of the investigation.(d) No holder of escrow or title records, or any officer, employee, or agent thereof, shall be liable to any person for (A) disclosing information in response to an order pursuant to this section, or (B) complying with an order under this section not to disclose to the customer, the order or the dissemination of information pursuant to the order.(e) Nothing in this section shall preclude the holder of the escrow or title records from voluntarily disclosing information or providing records to law enforcement upon request.(Added by Stats. 1998, Ch. 757, Sec. 6. Effective January 1, 1999.)
CA Penal Code § 1327 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1327.

1327.  A subpoena authorized by Section 1326 shall be substantially in the following form:The people of the State of California to A. B.:You are commanded to appear before C. D., a judge of the ____ Court of ____ County, at (naming the place), on (stating the day and hour), as a witness in a criminal action prosecuted by the people of the State of California against E. F.Given under my hand this ____ day of ____, A.D. 19____. G. H., Judge of the ____ Court (or “J. K., District Attorney,” or “J. K., District Attorney Investigator,” or “D. E., Public Defender,” or “D. E., Public Defender Investigator,” or “F. G., Defense Counsel,” or “By order of the court, L. M., Clerk,” or as the case may be).If books, papers, or documents are required, a direction to the following effect must be contained in the subpoena: “And you are required, also, to bring with you the following” (describing intelligibly the books, papers, or documents required).(Amended by Stats. 1998, Ch. 931, Sec. 403. Effective September 28, 1998.)
CA Penal Code § 1328.5 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1328.5.

1328.5.  Whenever any peace officer is a witness before any court or magistrate in any criminal action or proceeding in connection with a matter regarding an event or transaction which he has perceived or investigated in the course of his duties, where his testimony would become a matter of public record, and where he is required to state the place of his residence, he need not state the place of his residence, but in lieu thereof, he may state his business address.(Added by Stats. 1971, Ch. 636.)
CA Penal Code § 1328.6 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1328.6.

1328.6.  Whenever any criminalist, questioned document examiner, latent print analyst, polygraph examiner employed by the Department of Justice, a police department, a sheriff’s office, or a district attorney’s office, an intelligence specialist or other technical specialist employed by the Department of Justice, a custodial officer employed in a local detention facility, or an employee of the county welfare department or the department which administers the county public social services program, is a witness before any court or magistrate in any criminal action or proceeding in connection with a matter regarding an event or transaction which he or she has perceived or investigated in the course of his or her official duties, where his or her testimony would become a matter of public record, and where he or she is required to state the place of his or her residence, he or she need not state the place of his or her residence, but in lieu thereof, he or she may state his or her business address, unless the court finds, after an in camera hearing, that the probative value of the witness’s residential address outweighs the creation of substantial danger to the witness.Nothing in this section shall abridge or limit a defendant’s right to discover or investigate this information. This section is not intended to apply to confidential informants.(Amended by Stats. 1984, Ch. 535, Sec. 1.)
CA Penal Code § 1328d (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1328d.

1328d.  (a) Notwithstanding Section 1328, except as specified in subdivision (c) of Section 1328, a subpoena may be delivered by mail, messenger, electronic mail, or facsimile transmission. Service shall be effected when the witness acknowledges receipt of the subpoena to the sender, by telephone, by mail, over the internet by email or by completion of the sender’s online form, or in person, and identifies themselves by reference to their date of birth and driver’s license number or Department of Motor Vehicles identification card number. The sender shall make a written notation of the identifying information obtained during any acknowledgment by telephone or in person. The sender shall retain a copy of any acknowledgment received over the internet until the court date for which the subpoena was issued or until any further date as specified by the court. A subpoena issued and acknowledged pursuant to this section shall have the same force and effect as a subpoena personally served. Failure to comply with a subpoena issued and acknowledged pursuant to this section may be punished as a contempt and the subpoena may so state; provided, that a warrant of arrest or a body attachment may not be issued based upon a failure to appear after being subpoenaed pursuant to this section.(b) A party requesting a continuance, based upon the failure of a witness to appear in court at the time and place required for their appearance or testimony pursuant to a subpoena, shall prove to the court that the party has complied with this section. That continuance shall only be granted for a period of time that would allow personal service of the subpoena and in no event longer than that allowed by law, including the requirements of Sections 861 and 1382.(Amended by Stats. 2019, Ch. 851, Sec. 4. (SB 471) Effective January 1, 2020.)
CA Penal Code § 1329 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1329.

1329.  (a) When a person attends before a magistrate, grand jury, or court, as a witness in a criminal case, whether upon a subpoena or in pursuance of an undertaking, or voluntarily, the court, at its discretion, if the attendance of the witness be upon a trial may by an order upon its minutes, or in any criminal proceeding, by a written order, direct the county auditor to draw his warrant upon the county treasurer in favor of such witness for witness’ fees at the rate of twelve dollars ($12) for each day’s actual attendance and for a reasonable sum to be specified in the order for the necessary expenses of such witness. The court, in its discretion, may make an allowance under this section, or under any appropriate section in Chapter 1 (commencing with Section 68070), Title 8, of the Government Code, other than Section 68093. The allowances are county charges. (b) The court, in its discretion, may authorize payment to such a witness, if he is employed and if his salary is not paid by his employer during the time he is absent from his employment because of being such a witness, of a sum equal to his gross salary for such time, but such sum shall not exceed eighteen dollars ($18) per day. The sum is a county charge.A person compensated under the provisions of this subdivision may not receive the payment of witness’ fees as provided for in subdivision (a).(Amended by Stats. 1981, Ch. 184, Sec. 5.)
CA Penal Code § 1329.1 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1329.1.

1329.1.  Any witness who is subpoenaed in any criminal action or proceeding shall be given written notice on the subpoena that the witness may be entitled to receive fees and mileage. Such notice shall indicate generally the manner in which a request or claim for fees and mileage should be made.(Added by Stats. 1979, Ch. 67.)
CA Penal Code § 1330 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1330.

1330.  No person is obliged to attend as a witness before a court or magistrate out of the county where the witness resides, or is served with the subpoena, unless the distance be less than 150 miles from his or her place of residence to the place of trial, or unless the judge of the court in which the offense is triable, or a justice of the Supreme Court, or a judge of a superior court, or, in the case of a minor concerning whom a petition has been filed pursuant to Article 16 (commencing with Section 650) of Chapter 2 of Part 1 of Division 2 of the Welfare and Institutions Code, by the judge of the juvenile court hearing the petition, upon an affidavit of the district attorney or prosecutor, or of the defendant, or his or her counsel, or in the case involving a minor in whose behalf a petition has been filed in the juvenile court, of the probation officer approving the filing of the petition or of any party to the action, or his or her counsel, stating that he or she believes the evidence of the witness is material, and his or her attendance at the examination, trial, or hearing is material and necessary, shall endorse on the subpoena an order for the attendance of the witness.When a subpoena duces tecum is duly issued according to any other provision of law and is served upon a custodian of records or other qualified witness as provided in Article 4 (commencing with Section 1560) of Chapter 2 of Division 11 of the Evidence Code, and his or her personal attendance is not required by the terms of the subpoena, the limitations of this section shall not apply.(Amended by Stats. 1987, Ch. 828, Sec. 86.)
CA Penal Code § 1331 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1331.

1331.  Disobedience to a subpoena, or a refusal to be sworn or to testify as a witness, may be punished by the Court or magistrate as a contempt. A witness disobeying a subpoena issued on the part of the defendant, unless he show good cause for his nonattendance, is liable to the defendant in the sum of one hundred dollars, which may be recovered in a civil action.(Enacted 1872.)
CA Penal Code § 1331.5 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1331.5.

1331.5.  Any person who is subpoenaed to appear at a session of court, or at the trial of an issue therein, may, in lieu of appearance at the time specified in the subpoena, agree with the party at whose request the subpoena was issued, to appear at another time or upon such notice as may be agreed upon. Any failure to appear pursuant to such agreement may be punished as a contempt, and a subpoena shall so state. The facts establishing such agreement and the failure to appear may be shown by the affidavit of any person having personal knowledge of the facts and the court may grant such continuance as may be appropriate.(Added by Stats. 1972, Ch. 393.)
CA Penal Code § 1332 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3 - Compelling the Attendance of Witnesses|Section 1332.

1332.  (a) Notwithstanding the provisions of Sections 878 to 883, inclusive, when the court is satisfied, by proof on oath, that there is good cause to believe that any material witness for the prosecution or defense, whether the witness is an adult or a minor, will not appear and testify unless security is required, at any proceeding in connection with any criminal prosecution or in connection with a wardship petition pursuant to Section 602 of the Welfare and Institutions Code, the court may order the witness to enter into a written undertaking to the effect that he or she will appear and testify at the time and place ordered by the court or that he or she will forfeit an amount the court deems proper.(b) If the witness required to enter into an undertaking to appear and testify, either with or without sureties, refuses compliance with the order for that purpose, the court may commit the witness, if an adult, to the custody of the sheriff, and if a minor, to the custody of the probation officer or other appropriate agency, until the witness complies or is legally discharged.(c) When a person is committed pursuant to this section, he or she is entitled to an automatic review of the order requiring a written undertaking and the order committing the person, by a judge or magistrate having jurisdiction over the offense other than the one who issued the order. This review shall be held not later than two days from the time of the original order of commitment.(d) If it is determined that the witness must remain in custody, the witness is entitled to a review of that order after 10 days.(e) When a witness has entered into an undertaking to appear, upon his or her failure to do so the undertaking is forfeited in the same manner as undertakings of bail.(Amended by Stats. 1987, Ch. 828, Sec. 87.)
CA Penal Code § 1334 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3a - Attendance of Witnesses Outside the State|Section 1334.

1334.  This chapter may be cited as the Uniform Act to Secure the Attendance of Witnesses from without the State in Criminal Cases.(Added by Stats. 1937, Ch. 262.)
CA Penal Code § 1334.1 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3a - Attendance of Witnesses Outside the State|Section 1334.1.

1334.1.  As used in this chapter:(a) “Witness” includes any person whose testimony is desired in any proceeding or investigation by a grand jury or in any criminal action, prosecution, or proceeding.(b) “State” means any State or Territory of the United States and the District of Columbia.(c) “Grand jury investigation” means any grand jury investigation which has commenced or is about to commence.(d) “Per diem” means a sum of money the purpose of which is to provide for personal expenses, including, but not limited to, food and lodging.(Amended by Stats. 1987, Ch. 322, Sec. 1.)
CA Penal Code § 1334.4 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3a - Attendance of Witnesses Outside the State|Section 1334.4.

1334.4.  If a person comes into this State in obedience to a subpoena directing him to attend and testify in this State, he shall not, while in this State pursuant to the subpoena or order, be subject to arrest or the service of process, civil or criminal, in connection with matters which arose before his entrance into this State under the subpoena.(Added by Stats. 1937, Ch. 262.)
CA Penal Code § 1334.5 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 10 - MISCELLANEOUS PROCEEDINGS|CHAPTER 3a - Attendance of Witnesses Outside the State|Section 1334.5.

1334.5.  If a person passes through this State while going to another State in obedience to a subpoena or order to attend and testify in that State or while returning therefrom, he shall not while so passing through this State be subject to arrest or the service of process, civil or criminal, in connection with matters which arose before his entrance into this State under the subpoena or order.(Added by Stats. 1937, Ch. 262.)