*77The San Diego County District Attorney petitions for a writ of mandate and/or prohibition challenging the superior court's order directing the district attorney to turn over to defense habeas counsel the prosecution's jury selection notes, contending the materials are privileged work product not subject to discovery. We are called upon to determine whether these notes, when referenced during a Batson / Wheeler
FACTUAL AND PROCEDURAL BACKGROUND
In 1994, a jury convicted Bryan Maurice Jones of the first degree murders of JoAnn S. and Sophia G. ( Pen. Code,
The defense attorney made a second Batson / Wheeler challenge after the prosecutor used a peremptory strike on a third African-American female. The prosecutor again referenced the numerical analysis, which had been conducted by three people in the office. The court offered its opinion of the juror, consistent with the reasoning provided by the prosecutor, and denied the Batson / Wheeler motion.
On appeal, Jones challenged the credibility and genuineness of the race-neutral explanations, and the Supreme Court deferred to the trial court's assessment. ( Id. at p. 919,
Subsequently, in his amended petition for writ of habeas corpus, No. S217284, Jones alleged ineffective assistance of counsel because his trial counsel failed to raise a Batson / Wheeler error for the prosecutor's exercise of peremptory challenges against women, noting 13 of the prosecution's 17 peremptory strikes were against prospective female jurors. Jones further alleged his trial counsel was ineffective for failing to raise a Batson / Wheeler error on the ground that four of those women were also African-American.
*79Following Jones's direct appeal, pursuant to section 1054.9, his habeas attorney sought postconviction discovery of the jury selection notes.
DISCUSSION
A
Legal Principles
We review a trial court's ruling on discovery matters under an abuse of discretion standard. ( People v. Ayala (2000)
A defendant is entitled to materials to which he would have been entitled at trial, whether or not he possessed those materials at the time of trial. ( In re Steele (2004)
*80B
Batson/Wheeler Challenges
Because Jones's request for postconviction discovery rests on potential allegations of a Batson / Wheeler violation, consideration of the three-step Batson framework is necessary. In the first stage of a Batson / Wheeler challenge, the defendant must make out a prima facie case that there is an inference of a discriminatory purpose from the prosecutor's use of peremptory strikes. ( People v. Lenix (2008)
C
Work Product
There is no constitutional basis for work product privilege; thus, "any protection in California ... must be based on state common or statutory law." ( Izazaga v. Superior Court (1991)
California's work product protection exists to encourage attorneys to thoroughly prepare their cases for trial and to investigate the favorable and unfavorable aspects of their cases, as well as to prevent attorneys from "taking undue advantage of their adversary's industry and efforts." ( Code Civ. Proc., § 2018.020, subds. (a) & (b).) " '[T]he work-product doctrine shelters the mental processes of the attorney, providing a privileged area within which he can analyze and prepare his client's case.' " ( Collie, supra ,
We are tasked with determining whether the work product privilege remains absolute when a court has an obligation to evaluate the intent of the prosecution, and the written mental impressions themselves may reveal an effort to unlawfully exclude prospective jurors based on race or gender. Foster,
In Foster, the United States Supreme Court considered a Batson / Wheeler challenge based on jury selection notes collected by defense counsel through the Georgia Open Records Act. ( Foster,
Although Foster does not address whether the jury selection notes were protected work product, it makes clear the information contained within those notes is relevant to a determination of a prosecutor's credibility and genuineness. ( Foster,
We agree there is a difference between a prosecutor's thoughts and opinions about the quality of the legal case or trial strategy and the thoughts and opinions about the adequacy of prospective jurors. The second step of the Batson / Wheeler hearing requires the prosecutor to disclose his or her thinking regarding the prospective jurors by offering a race- or gender-neutral justification for exercising the challenged peremptory strikes. ( Lenix, supra, 44 Cal.4th at pp. 612-613,
The district attorney's reliance on Hickman v. Taylor (1947)
The California Supreme Court has similarly held in the civil context that a witness statement is protected from disclosure as long as the attorney's *83impressions, conclusions, opinions, or legal research are inextricably intertwined with the witness statements, either because there are explicit comments stating those impressions or because the line of inquiry reveals the theory of the case.
However, neither Hickman,
D
Waiver of Work Product Protection
Jones contends he was entitled to the notes at the time of trial because the prosecutor waived the claim of privilege by referencing details from his jury selection notes during the Batson / Wheeler hearing. The district attorney argues there was no waiver of privilege because the prosecutor was not a witness when referencing the jury selection notes. We agree with Jones. Even assuming the jury selection notes are undiscoverable core work product, the prosecution's reference to their contents waived the protection.
The only recognized exception to the absolute protection of core work product is the waiver doctrine. ( Wellpoint Health Networks v. Superior Court (1997)
The district attorney encourages us to adopt the definition of "witness" from the Code of Civil Procedure in conducting our analysis. The Code of Civil Procedure defines a "witness" as "a person whose declaration under oath is received as evidence for any purpose, whether such declaration be made on oral examination, or by deposition or affidavit." ( Code Civ. Proc., § 1878.) However, the issue before us is a discovery matter that regards criminal law. Other, arguably more relevant code sections also offer definitions for "witness."
The Penal Code defines "witness" as a natural person who has knowledge of the existence or nonexistence of facts related to the crime, has submitted a declaration under oath, has reported a crime, has been served with a subpoena, or who others would perceive to fit one of the aforementioned categories. (§ 136, subd. (2).) The Evidence Code, which is "to be liberally construed with a view to effecting its objects and promoting justice" ( Evid. Code, § 2 ), does not independently define "witness." However, in the definition of the term " 'unavailable as a witness,' " it treats the word "witness" as synonymous with "declarant." ( Evid. Code, § 240.) It defines a "declarant" as a "person who makes a statement." ( Evid. Code, § 135.) These definitions are broader than the one offered *796by the district attorney and suggest more flexibility in who constitutes a witness in a criminal matter.
In a Batson / Wheeler hearing, resolution of the issues depends entirely on the reasons the prosecutor provides for exercising a peremptory challenge. Moreover, the prosecutor is the only source of information regarding his motivations, other than the jury selection notes. Thus, in this context, the prosecutor effectively serves as a witness as the term is used in Evidence Code section 771. (See also § 136, subd. (2) [witness includes natural persons others would perceive to be a witness]; Evid. Code, §§ 135, 140 [witness is a person who makes a statement].) Moreover, when the prosecutor references jury selection notes to refresh his recollection and offers details from those notes, he waives any work product protection. (See Evid. Code, § 771.)
Here, the prosecutor referenced details from the jury selection notes throughout the Batson / Wheeler hearing. He explained the prosecution had *85numerically evaluated jurors based on their questionnaires, and he shared the specific numeric ratings with the court, in addition to other details and observations regarding the challenged prospective jurors. These references to the jury selection notes waived any work product privilege.
Additionally, while we generally defer to the trial court's factual findings regarding the credibility of a prosecutor's stated rationale ( Winbush,
Finally, we are not persuaded by the district attorney's argument that the prosecutor could not have waived the work product privilege because he was not under oath and therefore was not a witness. Although the prosecutor was not under oath, "[a]n attorney is an officer of the court, and in presenting matters to the court may employ only such means as are consistent with the truth[ ] and may not mislead the court in any fashion." ( Bellm v. Bellia (1984)
Thus, we conclude that when a prosecutor relies on jury selection notes to refresh his recollection and shares the details of jury selection notes with the court *797during a Batson / Wheeler hearing, upon request, the defense is entitled to review those notes. Accordingly, the court did not abuse its discretion in determining Jones was entitled to the jury selection notes pursuant to section 1054.9. (See Steele, supra, 32 Cal.4th at pp. 693, 695-696,
The petition for writ of mandate and/or prohibition is denied.
WE CONCUR:
NARES, J.
AARON, J.
Notes
Batson v. Kentucky (1986)
Further statutory references are to the Penal Code unless otherwise indicated.
Jones also sought any policy memoranda regarding jury selection at the time of trial. The district attorney represented it has no records of any such policy memoranda to turn over.
In Coito , the Supreme Court directs trial courts, "[u]pon an adequate showing," to "determine, by making an in camera inspection if necessary, whether absolute work product protection applies to some or all of the material." (Coito, supra,
Rule 5-200 of the Rules of Professional Conduct provides in relevant part: "In presenting a matter to a tribunal, a member: [¶] (A) Shall employ, for the purpose of maintaining the causes confided to the member such means only as are consistent with truth; [¶] (B) Shall not seek to mislead the judge, judicial officer, or jury by an artifice or false statement of fact or law."
Business and Professions Code section 6068 provides in relevant part: "It is the duty of an attorney to do all of the following: [¶] ... [¶] (b) To maintain the respect due to the courts of justice and judicial officers. [¶] ... [¶] (d) To employ, for the purpose of maintaining the causes confided to him or her those means only as are consistent with truth, and never to seek to mislead the judge or judicial officer by an artifice or false statement of fact or law."
