> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Government Code - GOV § 26523. — Section 26523.

- **Citation**: Cal. Government Code - GOV § 26523.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Government Code - GOV (GOV)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-3/chapter-1/article-2/section-26523](https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-3/chapter-1/article-2/section-26523)
- **Semantic URL**: [https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-3/chapter-1/article-2/section-26523](https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-3/chapter-1/article-2/section-26523)

## Hierarchy

Title GOV — Government Code - GOV > Title 3. — TITLE 3. GOVERNMENT OF COUNTIES [23000. - 33205.] > Division 2. — DIVISION 2. OFFICERS [24000. - 28085.] > Part 3. — PART 3. OTHER OFFICERS [26500. - 27773.] > Chapter 1. — CHAPTER 1. District Attorney [26500. - 26543.] > Article 2. — ARTICLE 2. Other Duties [26520. - 26530.]

## Text

Upon request of the auditor or treasurer, the district attorney shall defend or prosecute any action brought by or against the auditor or treasurer for the purpose of testing the validity or constitutionality of any act of the Legislature or of the board of supervisors or of any order providing for the payment of any funds held in the county treasury in those cases only where the interest of the county is not adverse.
