This аction is brought by plaintiff corporation as assignee of San Luis Obispo County. By such action the assignee seeks to have an allegedly assigned faithful performance bond reformed and to recover on it as refоrmed. The trial court sustained an amended demurrer to the complaint, without leave to amend, and ordered judgment of dismissal. Plaintiff appeals. We have concluded that defendant is correct in its contention that thе bond could not properly be assigned to plaintiff, that no right of plaintiff to recover on the bond appears, and that the dismissal should be upheld.
*399 The bond in question names defendant The Hartford Accident and Indemnity Compаny as surety, defendant Westfall as principal, and the County of San Luis Obispo as obligee, and purports to assure that Westfall would improve all of the streets and roads situated within a certain 34.7 acre tract of land subdivided by him in 1953 intо 110 lots, and would “indemnify . . . the Obligee from all cost and damage which the Obligee may suffer by reason of failure so to do and shall fully reimburse . . . the Obligee all . . . expense which the Obligee may incur in making good any such default ...”
Besides alleging аssignment of the bond to plaintiff the complaint avers that in June, 1953, defendant Westfall, acting as owner and subdivider of the tract, “caused the Board of Supervisors of San Luis Obispo County to accept a final subdivision map” of thе tract in consideration of Westfall’s promise that he would, as provided in county subdivision ordinance No. 184, 1 within a reasonable time improve all of the streets and roads in the tract as shown on the subdivision map, and that he would post with the county a sufficient bond to insure his faithful performance of the work.
About 10 days later Westfall, pursuant to his agreement with the county, delivered the bond in question, a copy of which is attached as an exhibit to the complaint. It is in the amount of $28,000 and recites that “Whereas, the Principal [Westfall] has entered into a certain written contract with the Obligee, dated the 29th day of June, 1953 to Complete Roads, Los Osos Highlands, No. 2, Subdivision . . . which contract is hereby refеrred to and made a part hereof as fully ... as if copied at length herein.
“Now, Therefore, the condition of this obligation is such that, if the Principal shall faithfully perform the contract on his part, and shall fully indemnify and save harmless the Obligee from all cost and damage which the Obligee may suffer by reason of failure so to do and shall fully reimburse and repay the Obligee all outlay and expense which the Obligee may incur in making good any such default, and shall pay all persons who have contraсts directly with the Principal for labor or materials, then this obligation shall be null and void, otherwise it shall remain in full force and effect.” (Italics added.)
*400 The complaint further alleges that “by mutual mistake of the parties thereto the bond . . . did not fully and truly express the intention and meaning of the parties ... in that the bond recites that the principal entered into a written contract ... on the 29th day of June, 1953, whereas in truth and fact the principal . . . entered into аn oral contract with the obligee on or about the 20th day of June, 1953. ’ ’
It is further pleaded that Westfall commenced improving the roads but abandoned all work about the middle of December, 1953; the county road commissionеr has estimated that it will cost $22,030 to complete the road work; the obligee county, in March, 1956, made written demand on defendant surety to perform the obligation of the bond, but the surety refused; plaintiff presently owns more than 50 per cent of the land in the tract; in October, 1957, the obligee county assigned its rights in the bond to plaintiff. The purported assignment is in writing and states that “In consideration of the execution, concurrently herewith, of Forbearance to Sue” by plaintiff, the county assigns to plaintiff “all of its right, title and interest, legal or equitable, as obligee, to enforce the provisions ’ ’ of the bond. No document purporting. to constitute a covenant not to sue anyоne for anything appears in the record, nor are any terms or conditions of any such agreement alleged.
The complaint, filed October 21, 1957, seeks judgment against both the principal and the surety in the sum of $22,030. It does not appear from the complaint whether West-fall still owns land in the tract or has sold or conveyed to others the portions thereof not owned by plaintiff. Neither does plaintiff allege the means by which it became owner of the “more than fifty per cent” of the land which it claims. It does not appear that plaintiff is the only person (if any) who may or might have a claim against the county because of the principal’s default.
Defendant contends, among other things, that the complaint fails to state a cause of action in that the alleged assignment of the county’s rights in the bond is illegal and ultra vires. This contention is meritorious.
The rule is that rights and liabilities under a surety bond are to be determined from the language of the bond read in the light of applicable statutes. (See
County of Placer
v.
Aetna Cas. etc. Co.
(1958),
As declared in
County of Los Angeles
v.
Margulis
(1935),
Here as in the Margulis ease, the county presumptively is entitled to receive the roаd work which Westfall agreed to complete. And here the right to recover under the bond appears clearly to be a right of the county rather than of the owner of a portion of the property which might be аffected by the default. (See
Evola
v.
Wendt Construction Co.
(1959),
We recognize that in
Christie
v.
Commercial Casualty Ins. Co.
(1935),
Plaintiff claims, however, that in any event it, as the present owner of the land in the subdivided tract, is a third-party beneficiary under the bond; i.e., one for whose benefit the
*403
roads were to be improved. The same may be said of other purchasers of lots in the tract, as well as of members of the public generally, who would use the roads.
2
What plaintiff seeks by its complaint is not to compel improvement of the subdivision roads, but to recover in full on its own behalf a money judgment representing the cost of such improvement. Such a recovery appears to be authorized neither by the terms of the bond itself nor under any assignment which the county could make of its rights under the bond.
(Cf. County of San Diego
v.
California Water etc. Co.
(1947),
For the reasons stated it follows that the complaint does not, and that plaintiff would be unable to amend to, state a cause of action on the allegedly assigned bond. The trial court was correct in sustaining the amended demurrer without leave to amend and in ordering dismissal of the action.
The judgment is affirmed.
Gibson, C. J., Shenk, J., Traynor, J., Spence, J., McComb, J., and Peters, J., concurred.
Notes
Ordinance No. 184 is pleaded by title and date of passage, as pеrmitted by section 459 of the Code of Civil Procedure.
Of course neither plaintiff nor any other lot purchaser comes within the provisions of section 1559 of the Civil Code: “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.” (Italics added.)
