Opinion
Kaiser Engineers, Inc. (Kaiser), appeals from a judgment of dismissal entered after the sustaining of a demurrer without leave to amend its cross-complaint against Grinnell Fire Protection Systems Company, Inc. (Grinnell). As we have concluded that Labor Code section 3864 1 does not require a third party beneficiary to be identified by name in an express indemnity agreement in order to enforce that agreement, we reverse the judgment.
*1053 I
Kaiser’s cross-complaint alleged the following facts. In 1978, Kaiser entered into a contract with the United States Department of Energy (DOE), whereby Kaiser became the agent of the DOE and agreed to perform construction management services in connection with construction of the NOVA High Energy Laser Facility at the Lawrence Livermore Laboratory.
In 1980, respondent Grinnell entered into a construction contract with the DOE to provide certain fire protection systems at the NOVA facility. Clause 57 of that written contract provided: “The Contractor shall indemnify and hold harmless the Government and its agents and employees from and against all liability, claims and suits for injury or death to persons and damage to property . . . based upon or arising from the operations of the Contractor and his subcontractors in the performance of this contract.”
In 1981, Gary Candito, an employee of Grinnell, was injured when he fell through a hatch in a crane at the construction site. He and his wife filed a complaint for damages for personal injury and loss of consortium against Kaiser, among other defendants.
Subsequently, Kaiser cross-complained against Grinnell and others, seeking indemnity for any liability to Candito, and relying on both equitable indemnity principles and the express indemnity agreement provision in Grinnell’s contract with the DOE. Kaiser alleged that it was an intended third party beneficiary of that agreement.
The trial court sustained Grinnell’s demurrer to the cross-complaint without leave to amend. 2 In a later order denying Kaiser’s motion for new trial, the court explained the reason for its ruling on the demurrer: “The court finds that as a matter of law, Labor Code, Section 3864 does not authorize a person or entity who is not a party to a contract providing for indemnity against the employer to assert third party beneficiary rights against the employer unless said person or entity is expressly named as one to whom said employer owes the obligation of indemnity.”
II
Appellant contends that its complaint stated a cause of action based on the express contract of indemnity, and that the trial court’s interpretation *1054 of Labor Code section 3864- was erroneous. For reasons which we will explain, we agree.
For purposes of this appeal, we must treat as true all material facts properly pled in Kaiser’s cross-complaint.
(Strang
v.
Cabrol
(1984)
Section 3864 provides: “If an action as provided in this chapter prosecuted by the employee, the employer, or both jointly against the third person results in judgment against such third person, or settlement by such third person, the employer shall have no liability to reimburse or hold such third person harmless on such judgment or settlement in absence of a written agreement so to do executed prior to the injury.”
“The purpose of the statute is to eliminate an employer’s liability under an equitable or implied indemnity theory when its employee is injured during the course and scope of employment due to the negligence or partial negligence of a third party. Section 3864 restricts the employer’s responsibilities to those imposed by the workers’ compensation laws and insulates it from indemnity claims unless they are based on an express contract of indemnity executed by the employer prior to the injury. [Citation.]”
(City of Oakland
v.
Delcon Associates
(1985)
Nevertheless, section 3864 does not define the scope of the employer’s duty to indemnify under an express contract, and does not specify what words must be used in such a contract. Where an employer has expressly contracted with respect to the duty to indemnify, the extent of its duty must be determined from the contract. An indemnity provision of a contract is to be construed according to the same rules which govern other contracts, in order to determine the actual intent of the parties.
(Herman Christensen & Sons, Inc.
v.
Paris Plastering Co.
(1976)
As already stated, Kaiser has alleged that it was an intended third party beneficiary of the express indemnity agreement between respondent Grinnell and the DOE. Section 3864 does not prohibit an employer from entering into a written indemnity agreement with another for the express benefit of a third party, and the trial court’s reliance on that section to sustain respondent’s demurrer was misplaced. Instead, it is necessary to examine the contract principles applicable to third party beneficiary claims, to determine whether Kaiser was foreclosed from seeking to enforce the indemnity agreement merely because it was not identified by name therein.
A third party beneficiary may enforce a contract made expressly for his or her benefit. (Civ. Code, § 1559;
Murphy
v.
Allstate Ins. Co.
(1976)
Given these well-settled principles, it is clear that the trial court erred in sustaining Grinnell’s demurrer. Kaiser’s cross-complaint alleged that Grinnell and the DOE had executed an express contract of indemnity prior to the injury to Grinnell’s employee, wherein Grinnell promised to indemnify both the DOE and its agents. The cross-complaint also alleged *1056 that Kaiser was an agent of the DOE and as such was an intended third party beneficiary of that contract. Those allegations were sufficient to withstand the demurrer. Whether Kaiser will be able to prove that it was an agent within the meaning of the indemnity agreement is a question which is not before us.
We have not overlooked respondent’s argument that had it intended to make Kaiser a third party beneficiary of its agreement with the DOE, Kaiser would have been expressly named as such in the agreement. However, while the agreement could have been more specific, that fact does not preclude Kaiser from attempting to prove that it was a member of the class for whose express benefit this contract was made. (See Herman Christensen & Sons, Inc. v. Paris Plastering Co., supra, 61 Cal.App.3d at pp. 245-246 [employ er/subcontractor agrees to indemnify contractor against liability for “injuries to persons . . plain meaning of that language broad enough to include indemnitor’s employees, even though a more specific agreement would have been possible].)
Finally, the cases relied on by respondent,
Solano Concrete Co.
v.
Lund Constr. Co.
(1976)
Judgment is reversed.
White, P. J., and Barry-Deal, J., concurred.
Notes
Unless otherwise indicated, statutory references are to the Labor Code.
At the hearing on the demurrer, Kaiser conceded that the demurrer should be sustained without leave to amend as to the causes of action based on an implied indemnity theory. Those causes of action are not at issue in this appeal.
Civil Code section 1559 provides: “A contract, made expressly for the benefit of a third person, may be enforced by him at any time before the parties thereto rescind it.”
