*475 Opinion
Cаrd Construction Company, Inc. (Card) appeals from a judgment of dismissal entered after demurrers to the complaint by respondents, Ledbetter & Son (Ledbetter) and San Diego Pacific Rentals (Pacific), had been sustained without leave to amend. The original complaint was brought by Card and its bonding company, Insurance Company of North America (I.N.A.).
The dispute arises out of a contract and a series of subcontracts for work performed on a state improvement project and centers upon the legal effect of certain releases executed by respondents Ledbetter and Pacific. It is also concerned with the legal effect of a previous lawsuit in which all the parties to this litigation appeared.
For purposes here, the facts are not in dispute. In March 1967, Pylon, Inc. (Pylon), as general contractor, entered into a written contract with the State of California, acting by and through the Department of Water Resources, to construct a public improvement described as the San Diego Desalted Water Transmission Facility, for a consideration of $192,240.36. In April 1967, Pylon entered into a written subcontract with plaintiff Card under which Card agreed to perform a portion of the work covered by the prime contract between Pylon and the State for the sum of $103,913.80. Card, in turn, subcontracted a portion of its work to John F. Butler and John D. Couchman, doing business as Wymore Construction Co., Inc. (Wymore), on a time and material basis. Wymore again subcontracted a portion of its work to Ledbetter on a time plus 10 percent of gross billing basis.
In September 1967, after the work on the project had been completed, Ledbetter, who had furnished labor, equipment and material on the project, and Pacific, who had furnished materials, signed releаses in which they represented they had been paid in full for all labor, equipment and materials furnished on the construction project. The releases were given to Wymore and contained a statement they were signed “for the purpose of inducing” Card to pay Wymore’s billings. Wymore presentеd these releases to Card, and Card paid Wymore all sums due under its subcontract.
In fact, Wymore had not paid Ledbetter and Pacific and failed to pay either of them after it received payment from Card. Wymore was not bonded, defaulted in the ensuing litigation and is evidently judgment proof, Ledbetter and Pacific filed stop-notices with the State of California and with Pylon, the general contractor, and eventually sued everybody, including Pylon, its bonding company, Great American Insurance Company (Great American), Card, and the State of California. The complaint, *476 entitled “Complaint for Breach of Contract: To Enforce Stop Notice and upon Statutory Payment Bond,” spawned a proliferation of cross-complaints between the various parties which the court severed and ordered tried after the complaint.
Ultimately Ledbetter and Pacific were awаrded summary judgments against Great American, the bonding company for Pylon, the general contractor. At the same time it was ordered that “Plaintiffs take nothing by reason of their complaint against the other defendants,” which included Card.
Because of its written agreement of indemnity with Great American, Pylon рaid the judgments. It then obtained judgment for the amount it had paid on its cross-complaint against Card and I.N.A., who now have paid and satisfied Pylon’s judgment against them.
Card and I.N.A., as plaintiffs in the instant action, sought to recoup their loss from Ledbetter and Pacific. Their six-count complaint (three causes of аction against each defendant) alleges alternative theories of recovery based upon: (1) intentional misrepresentation, (2) negligent misrepresentation, and (3) implied indemnity.
The issues raised on appeal are: 1. Did the complaint state a cause of action in implied indemnity? 2. Did the previous action operate as a bar under the doctrines of res judicata or collateral estoppel, or by reason of the compulsory cross-complaint statute? (Code Civ. Proc., § 439.)
All parties agree the basic theory underlying the complaint is implied indemnity. The three causes of action only attempt to state a cause of action for recovery under implied indemnity on different theories.
In the complaint, Card and I.N.A. (to whom Card is ultimately financially responsible under a bonding indemnity agreement) claim Led-better and Pacific, by intentionally giving false аnd untrue releases to Wymore, or by negligently giving such releases, have, in effect, caused them to pay twice for the same labor and material. Card paid on the first occasion when it paid Wymore upon the presentation of the releases. Card and I.N.A. paid again when they were сompelled to satisfy Pylon’s judgment.
In the previous superior court action, Ledbetter and Pacific obtained judgment against Great American, the bonding company for Pylon, the general contractor. In that action, based upon the statutory bond, the releases previously given were wholly immaterial and could not be successfully urged as a defense by the bonding company. (See
Powers Regulator Co.
v.
Seaboard Surety Co.,
Although not fitting precisely within usual patterns, wе believe Card and I.N.A. stated a cause of action for indemnity against Ledbetter and Pacific on each of the alternative grounds. In
Alisal Sanitary Dist.
v.
Kennedy,
“ ‘The right of indemnity rests upon a difference between the primary and secondary liability of two persons each of whom is made responsible by the law to an injured party. It is a right which enures to a person who, without active fault on his part, has been compelled by reason of some legal obligation, to pay damages occasioned by the initial negligence of another, and for which he himself is only secondarily liable. The difference between рrimary and secondary liability is not based on a difference in degrees of negligence or on any doctrine of comparative negligence—a doctrine which, indeed, is not recognized by the common law; ... It depends on a difference in the character or kind of the wrongs which cause the injury and in the nature of the legal obligation owed by each of the wrongdoers to the injured рerson. . . .’”
“The California cases have not expressly drawn these distinctions or adopted these theories, although they have cited with approval the reasoning of some of these cases. [Citations.] They have, however, reached the same conclusion upon still other exсeptions to the general rule which allow indemnity upon the ground of a breach by the defendant of a duty, either in contract or in tort, owing by him to the plaintiff or upon equitable considerations.” (Alisal Sanitary Dist. v. Kennedy,180 Cal.App.2d 69 , 75-76 [4 Cal.Rptr. 379 ].)
In
Herrero
v.
Atkinson,
When Pylon, by reason of its indemnity agreemеnt, was compelled to reimburse its bonding company, Great American, for the sums the latter paid to Ledbetter and Pacific, Pylon acquired a cause of action based upon its contract against Card, its subcontractor, and Card’s bonding company, I.N.A. It also could have sued Ledbetter and Pacific to recover its loss, based upon the false releases. The fact Pylon elected not to sue Ledbetter and Pacific, and proceeded on the easily established contractual and bond liability of Card and I.N.A., does not mean the latter should not be permitted in equity and gоod conscience to shift the loss to those more culpable in bringing it about. Their responsibility to pay was purely contractual, and not based upon fault or misconduct; respondents’ alleged responsibility is based on tortious misrepresentations. By pleading these facts, we think appellant Card stated a cause of action against respondents in implied indemnity.
(Alisal Sanitary Dist.
v.
Kennedy, supra,
Powers Regulator Co.
v.
Seaboard Surety Co., supra,
Nor does it appear the previous superior court action is a bar to the present.action, either under the doctrines of res judicata and collateral estoppel or under the compulsory counterclaim statute. In the previous action Card and respondents were not adversaries in a true sense, and the legal effect of the allegedly improper releases was not litigated. While respondents sued many parties, including appellant Card, they elected to proceed against Great American only, and obtained a summary judgment against that company on its statutory bond. As already indicated, the releases, which are the subject of this action, were wholly immaterial and constituted no defensе in that action. Nothing in the findings or the record of the previous case indicates the question of the legal effect of the releases was litigated. Since the issue was neither litigated nor determined, the judgment does not operate as a bar to the present action under either the dоctrine of res judicata or collateral estoppel.
(Hayward Lbr. & Inv. Co.
v.
Const. Prod. Corp.,
The compulsory counterclaim rule is set forth in Code of Civil Procedure section 439 which reads: “If the defendant omits to set up a counterclaim upon a cause arising out of the transaction set forth in the complaint аs the foundation of the plaintiff’s claim, neither he nor his assignee can after-wards maintain an action against the plaintiff therefor.” The section embodies a special aspect of the doctrine of res judicata and constitutes a statutory extension of collateral estоppel.
(Saunders
v.
New Capital for Small Businesses, Inc.,
Respondents' reliance upon
Roylance
v.
Doelger,
The judgment is reversed. The trial court is directed to overrule the demurrers and allow respondents such time аs it deems reasonable to answer the complaint.
Brown (Gerald), P. J., and Coughlin, J., concurred.
A petition for a rehearing was denied April 19, 1971, and respondents’ petition for a hearing by the Supreme Court was denied May 26, 1971.
Notes
This results in a circuity of action which seems anomalous. While the bonding company is precluded from setting up the defеnse of the false releases when sued in the first instance, the contractor or subcontractor, who has relied upon them and sustained damage, should be permitted to assert them in the end. Other jurisdictions have obviated this circuity of action by permitting the bonding company to assert the defensе of the false release in the original action. (See
Wisconsin Electric Sales Co.
v.
Fidelity & Deposit Co.
[Langdon],
