Opinion
Procedural History
Appellant County of Fresno (County) appeals a trial court’s ruling sustaining a demurrer without leave to amend and granting judgment dismissing the County’s petition for writ of mandate and complaint for declaratory relief.
*343 County was ordered to pay attorney’s fees in the amount of $88,120 pursuant to Code of Civil Procedure section 1021.5 1 in Fresno Superior Court action No. 269458-7, Sequoia Community Health Foundation, etc. v. Board of Suрervisors of Fresno County, et al.
County contends it is entitled to reimbursement of that amount from respondent State of California (State) by alleging that the expenditure arose out of a state-mandated new program or higher level of service pursuant to California Constitution article XIII B, section 6. It interprets Code of Civil Procedure section 1021.5, as enacted, as being such a state-mandated prоgram or higher level of service.
County filed a test claim with respondent Commission on State Mandates (Commission) on November 25, 1987, for those costs (fees) paid by the County during the fiscal year 1986-1987. The test claim was administratively withdrawn, without a hearing, by the Commission. As a basis for the withdrawal, the Commission cited a prior test claim filed by a different entity, decided by the State Board of Control on April 16, 1980. The Board of Control, in the prior claim, determined that Code of Civil Procedure section 1021.5, enacted by Statutes of 1977, chapter 1197, did not mandate a new program or increase the level of service of an existing program within the definition of Revenue and Taxation Code former section 2207. (See discussion, post.)
County filed a petition for writ of mandate and a complaint for declaratory relief requesting in its first cause of aсtion that the court issue a writ of mandate to compel the Commission to conduct a full hearing on the County’s claim, deliver to the County a complete copy of documents submitted on the “first” claim, and issue a decision that chapter 1197 of Statutes of 1977 is a state-mandated program and that County is entitled to reimbursement of costs. As to the second cause of action, County requested a declaration that the Commission does not have jurisdiction to administratively refuse to hear any claims for reimbursement and to that extent, the Commission is unconstitutional and invalid.
State demurred to both the petition and complaint on the grounds that the court lacked subject matter jurisdiction because the statute of *344 limitations had run; the petition and complaint failed to state facts sufficient to constitute а cause of action; and the petition and complaint were uncertain. State also requested that the court take judicial notice of a decision of the Board of Control on July 25, 1979, on a claim regarding chapter 993 of the Statutes of 1973. That claim involved the creation of the Division of Occupational, Safety and Health Standards Board (OSHA).
The trial court granted State’s request for judiсial notice and sustained the demurrer without leave to amend based on two grounds. The statute of limitations had run because the cause of action accrued to County on April 16, 1980, by the Board of Control’s determination, at that time, that the statute did not mandate a new program or increase the level of service, The court ruled no cause of action was stated by County in that Code of Civil Proсedure section 1021.5 does not constitute a new program or higher level of service under California Constitution article XIII B, section 6.
The trial court also ruled that the statute enacting the private attorney general doctrine (Code Civ. Proc., § 1021.5) is not a program carrying out the governmental function of providing services to the poor. Rather, it is one of public policy, applying generаlly to violators of the law. 2
County appeals from the judgment of dismissal following the sustaining of the demurrer, citing numerous errors by the trial court.
Discussion
Denial of a test claim filed by one local entity does not constitute the accrual of a cause of action for purposes of the statute of limitations limiting judicial review for the test claim of a separate entity.
Although there is some uncertainty as to whether the prior test claim filed with the Board of Control involved a claim under Statutes of 1973, chapter 993 or Statutes of 1977, chapter 1197, our analysis is not dependent upon a specific determination here of the basis for the prior test claim. 3 *345 Therefore, we are not compelled to address the issue involving judicial notice raised by County.
It will be helpful for a complete understanding of the issues in this case and for their proper resolution, to set forth the procedure relating to claims for reimbursement of costs mandated by the state under the authorizing statutes at the time the “first” claim was decided on April 16, 1980, and at the time the claim was filed by County here. 4
At the time the test claim was filed in 1980, the implementing statutes were Revenue and Taxation Code section 2201 et seq. (Stats. 1973, ch. 358, § 3, p. 779.)
5
(County of Contra Costa
v.
State of California
(1986)
Section 2231, subdivision (a) provided that the state shall reimburse local agencies for all costs mandated by the state (defined in former § 2207). 6 Section 2250 et seq. provided a hearing procedure for the determination of claims by local governments. Former section 2218 stated that the first claim filed with respect to a statute is considered a “test claim.” (See County of Contra Costa v. State of California, supra, 177 Cal.App.3d 62, for a comprehensive discussion of the statutory schеme for reimbursement under § 2201 et seq.)
Effective January 1, 1985, the Legislature established the Commission to consider and determine claims based on state mandates. (Gov. Code, §§ 17500, 17525.) The claim filed by County was filed pursuant to Government Code section 17500 et seq., which procedures are similar to those which were followed before the Board. (County of Contra Costa v. State of California, supra, 177 Cal.App.3d at p. 72.)
County correctly contends the statute of limitations could not begin to run until County had a right of action. A cause of action
*346
accrues when the person who owns it is entitled to bring and prosecute an action on it.
(Collins
v.
County of Los Angeles
(1966)
State argues that since no public entity challenged the Board of Control’s determination on April 16, 1980, that no mandate was imposed by Statutes of 1977, chapter 1197, the statute of limitations expired three years later.
7
In support of its argument, State cites the cases of
Carmel Valley Fire Protection Dist.
v.
State of California
(1987)
In
Carmel Valley Fire Protection Dist.
v.
State of California, supra,
The court found the requisite elements of administrative collateral estoppel, as set forth in
People
v.
Sims
(1982)
It is undisputed that no privity exists between the County here and the local entity filing the test claim in 1980; therefore, collateral estoppel could not apply.
(Summerford
v.
Board of Retirement
(1977)
Contrary to the assertions of State,
Los Angeles Unified School Dist.
v.
State of California, supra,
From the foregoing discussion, we conclude the court erred in ruling that the statute of limitations precluded the filing of the action by County.
Code of Civil Procedure section 1021.5 does not constitute a state-mandated program.
Inasmuch as the trial court also sustained the demurrer for failurе to state a cause of action, we must decide whether Code of Civil Procedure section 1021.5 constitutes a state-mandated program. The question of whether a cost is state-mandated is one of law.
(Carmel Valley Fire Protection Dist.
v.
State of California, supra,
Code of Civil Procedure section 1021.5 is thought to be our Legislature’s response to
Alyeska Pipeline Co.
v.
Wilderness Society
(1975)
The County contends that the private attorney general theory under thаt section is a “new program” or provides “an increased level of service of an existing program” pursuant to California Constitution article XIII B, section 6, and County is, therefore, entitled to reimbursement for costs incurred in compliance with that section.
On November 6, 1979, California voters by an initiative measure enacted Proposition 4 and added article XIII B to the California Constitution (hereafter article XIII B) which became effective on July 1, 1980. This article imposed spending limits on the state and local governments and provided in section 6;
“ ‘Whenever the Legislature or any state agency mandates a new program or higher level of service on any local government, the state shall provide a subvention of funds to reimburse such local government for the costs of such program or increased level of service, except that the Legislature may, but need not, provide such subvention of funds for the following mandates: [fl] (a) Legislative mandates requested by the local agency affected; [][] (b) Legislation defining a new crime or changing an existing definition of a crime; or [fl] (c) Legislative mandates enacted prior to January 1, 1975, or executive orders or regulations initially implementing legislation enacted prior to January 1, 1975.’ ” (County of Los Angeles v. State of California (1987)43 Cal.3d 46 , 50 [233 Cal.Rptr. 38 ,729 P.2d 202 ].)
In construing the meaning of the language in article XIII B, section 6, that the state reimburse local agencies for the costs of any “new program or
*349
higher level of service,” the Supreme Court defined “higher level of service” as state-mandated increases in the services provided by local agencies in existing “programs.” The term “program” is defined as “programs that carry out the governmental function of providing services to the public, or laws which, to implement a state policy, impose unique requirements on local governments and
do not apply generally to all residents and entities in the stated (County of Los Angeles
v.
State of California, supra,
As our Supreme Court also noted, “the drafters and the electorаte had in mind subvention for the expense or increased cost of programs administered locally . . . .” (Italics added, 43 Cal.3d at pp. 49-50.) It would be tortuous to interpret Code of Civil Procedure section 1021.5 as a program administered locally. A more logical interpretation is to view the expenses incurred therewith as an “incidental impact” of a general law.
The application of Code of Civil Procedure section 1021.5 is not limited to local agencies and has been applied generally to all residents and entities in the state. The following are cases where private individuals or entities were ordered to pay attorney’s fees pursuant to Code of Civil Procedure section 1021.5:
Press
v.
Lucky Stores, Inc., supra,
In
Braude
v.
Automobile Club of Southern Cal., supra,
County next contends that because Code of Civil Procedure section 1021.5 expressly prohibits the recovery of an award of attorney’s fees to *350 public agencies, that limitation establishes Code of Civil Procedure section 1021.5 as a new program. County’s attempt at syllogism fails. By definition, public agencies are already supposed to be working for the “public good.” It would be contrary to the purpose of the private attorney general theory to allow a public agency to recover such fees. It does not necessarily follow that a bar to filing suit under Code of Civil Procedure section 1021.5 demonstrates that Code of Civil Procedure section 1021.5 is a state-mandated new program. If a new program was created at all, and we hold it was not, it results from the public agencies being ordered to pay under the private attorney general theory, not from the preclusion of bringing such an action.
As discussed previously, private individuals and entities, as well as public agencies, have been ordered to pay fees pursuant to Code of Civil Procedure section 1021.5. That fact is significant in determining whether the fees ordered paid by County were really for “functions peculiar to government.” We conclude that Code of Civil Procedure section 1021.5 is not a state-mandated program as interpreted by article XIIIB, section 6. Furthermore, Code of Civil Procedure section 1021.5 was enacted to encourage private actions to enforce important public policies.
(Press
v.
Lucky Stores, Inc., supra,
34 Cal.3d at pp. 318-319.) In context here, fees were awarded against County in the underlying action which enjoined certain improper practices at Valley Medical Center; in other words, as stated in
Woodland Hills Residents Assn., Inc.
v.
City Council, supra,
Disposition
The judgment is affirmed. Respondents are awarded costs on appeal.
Best, P. J., and Stone (W. A.), J., concurred.
Notes
Code of Civil Procedure section 1021.5 states: “Upon motion, a court may award attorney’s fees to a successful party against one or more opposing parties in any action which has resulted in the enforcement of an important right affecting the public interest if: (a) a signifiсant benefit, whether pecuniary or nonpecuniary, has been conferred on the general public or a large class of persons, (b) the necessity and financial burden of private enforcement are such as to make the award appropriate, and (c) such fees should not in the interest of justice be paid out of the recovery, if any. With respect to actions involving publiс entities, this section applies to allowances against, but not in favor of, public entities, and no claim shall be required to be filed therefor.”
The record of the precedent case generating the test claim, Sequoia Community Health Foundation, etc. v. Board of Supervisors of Fresno County, et al., is not before us. However, it is apparent from the briefs and other materials herein that County was prohibited from carrying on certain practices involving, among other things, the disqualification of illegal aliens from treatment at Valley Medical Center, over which the board of supervisors had authority.
County filed its petition for writ of mandate alleging error by the Commission in withdrawing from consideration the test claim of County on the basis of the denial of a prior test claim filed by a different local agency under Statutes of 1977, chapter 1197. Attached to the declaration of Pamela A. Stone in support of the petition for writ of mandate, etc. was a copy of a letter from Stephen R. Lehman to the County which indicated that the denial of the *345 prior test claim under Statutes of 1977, chapter 1197, on April 16, 1980, compelled withdrawal since County’s test claim was not the first test claim on the statute.
At the same time State filed its demurrer, it filed a request for judicial notice at the hearing on demurrer. State requested that judicial notice be taken of the decision of the Board of Control with regard to Statutes of 1973, chapter 993 dated July 25, 1979. That statute relates to the creation of OSHA. The law and motion judge took judicial notice of the exhibits proffered by State and made a finding that they were relevant. Notwithstanding this, the court, in its order on demurrer, used the date set forth in the exhibit to the petition filed by County as the accrual of the cause of action.
The record before us does not indicate what agency filed the 1980 claim. However, the parties here do not question that it was a different entity than Fresno County.
Much of Statutes of 1973, chapter 358, has been repealed. All statutory references are to thе Revenue and Taxation Code unless otherwise indicated.
In pertinent part, former section 2207 refers to “any increased costs which a local agency is required to incur as a result of. . . : [j[] (a) Any law . . . which mandates a new program or an increased level of service of an existing program; ...”
Code of Civil Procedure section 338 provides a three-year statute of limitations period for an action upon a liability created by statute.
