Plaintiff sued in ejectment to enforce the removal of defendant’s pipe line from the property of plaintiff, and for damages for the use and occupation of the land. The defendant answered and pleaded two separate defenses—that a former action between the same parties and upon the same subject matter bars this action, and that all damages for the use and occupation of plaintiff’s land having been paid for by the satisfaction of the former judgment, plaintiff is barred from seeking further relief in this action for the same injury.
Under the provisions of section 597 of the Code of Civil Procedure a separate trial was had upon these defenses and the trial court found that the former action was a bar upon the second cause of action; that the plaintiff therein waived all portions of the judgment and verdict in excess of $2,500; that the satisfaction of the judgment for that amount “constitutes the entire relief to which plaintiff is entitled” and bars this action, or any further actions with respect to the cause of action herein asserted; and that, through the satisfaction of the' former judgment, “plaintiff has been fully compensated for the continued and permanent maintenance and operation of said pipe line.” Judgment followed for the defendant on these special pleas.
The single question raised on the plaintiff’s appeal from this judgment is whether the trial court erred in holding that her action was barred by the former judgment. It is her contention that since the former action was one in *867 trespass for damages for the use and occupation of plaintiff's land, and for damages in the installation of the pipe line, it has no relation to this suit in ejectment which seeks restitution of the land and removal of the pipe line. Respondent replies that the statement of the issues is too narrow—that the former action sought damages for the construction and maintenance of the pipe line, in addition to the claim of damages during its construction to physical properties. Respondent also points out that the present action is not confined to the demand for possession and removal of the pipe line, but it also seeks damages for its construction and maintenance.
A portion of the record of the former trial is included in the bill of exceptions. From this it appears that the complaint therein pleaded the unlawful entry upon the premises by defendant for the installation, construction and maintenance of the pipe line, that these acts caused damage to and decreased the value of the property by rendering it unfit for subdivision purposes, by injuring crops and trees, by creating a menace to the plaintiff and her family when oil should escape, or become overheated, and by depreciating “the reasonable value of the use of the said property of plaintiff so appropriated by defendants.” The verdict of the jury in the former action read:
“We, the jury in this case, find that by reason of the construction of the second pipe line the market value of the plaintiff’s property has been decreased in the sum of $10,000.00 dollars; and we further find that the damages for the physical injury to plaintiff’s property is the sum of $2500.00 dollars. ’ ’
It should be noted that, by its verdict, the jury awarded damages to the market value of the land by reason of the construction of the pipe line, and also damages “for the physical injury to plaintiff’s property.” Though a separate sum was fixed for each element of damage, the satisfaction was in general terms. Prior to the filing of the satisfaction the plaintiff therein filed a waiver in response to an order of the trial court that, unless she waived all portions of the judgment over $2,500 and costs a new trial would be granted. By this waiver she attempted to limit the recovery to ‘ ‘ damages for the physical injury to the property.” The trial court questioned the sufficiency of this waiver, for reasons which were apparent, and refused to direct execution. A writ of
*868
mandate was issued out of the District Court of Appeal ordering the trial court to direct execution on the modified judgment.
(Slater
v.
Superior Court,
Thus there is presented on this appeal the single question whether the former judgment for injury to the market value of the property through the construction and maintenance of the pipe line is a bar, or an estoppel, to this suit in ejectment and damages for the same acts.
The uncertainty of the waiver which the appellant herein denied in the mandamus proceeding is now asserted by her as indicating that the reduced judgment was satisfied only for the damages allowed for physical injury to her property, and that the judgment, as satisfied, included nothing in the way of damages for decrease in the market value. We are not impressed with the argument because if she waived all damage to the value of the land caused by respondent’s occupancy and the maintenance of the pipe line, she is in no better position on this appeal so far as the issue of res judicata is concerned. This is so because of the settled rule that this doctrine applies not only to those matters which were actually tried and determined in the former action, but to “Every matter which might have been urged in support of the cause of action or claim in litigation.” (2 Freeman on Judgments, p. 1425, sec. 676;
Sutpkin
v.
Speik,
“Where in the second action the plaintiff bases his claim on the same right on which he based his claim in the prior action and on the same violation of duty by the defendant, it is not a different cause of action merely because he asserts *869 different grounds for recovery from'those which he asserted in the prior action. He is barred by the prior judgment, not only where the grounds alleged in the second action were alleged in his complaint in the prior action and he failed to prove them, but also where he failed to allege these grounds in his complaint and therefore was precluded from proving them in the prior action.”
Some confusion is caused in the discussion of counsel by the failure to recognize the distinction between the “cause of action” and the “form of action.” In the application of the doctrines of res judicata, estoppel by judgment, and merger of judgments it is immaterial what form the proceedings take so long as they arise out of the same act or right. In the case here the right of the appellant which she asserts in both actions is the right to be free from the alleged trespass upon her land, and the occupation by the defendant. To assert this right she could sue for the trespass and recover damages, or in ejectment and have a judgment of ouster and damages, or for an injunction to restrain the continued occupation.
In Restatement of the Law of Judgments, section 63, comment b, it is said: “There is in such a ease a single cause of action, based upon the primary right of the plaintiff to be free from injury to his person or property. . . . The plaintiff is not permitted to maintain successive actions for the same injury by alleging different acts of negligence on the part of the defendant.” Emphasis added. Again in the same work, section 64, comment b, it is said: “Where, as at common law, the plaintiff in an action at law has to select one of the forms of action, and he sues in one form of action and judgment is given for him, he is precluded from maintaining an action in another form of action based on the same claim. ’ ’ And, in comment d, under the same section, we find: “Where a person has alternative remedies to sue either in an action of tort or in an action for restitution and has pursued one of these remedies and obtained a judgment in his favor, he cannot thereafter maintain an action to obtain the other remedy. Since the judgment terminates the right of action, it terminates also the unused remedy.”
Where the cause of action upon which plaintiff sues is based upon the alleged invasion and occupancy of his land by defendant the plaintiff may elect to treat the occupancy *870 as permanent and sue for compensation, once for all, for the prospective invasions. This compensation is usually fixed at the depreciation in the salable value of the land. (Restatement of the Law of Torts, see. 930, comments c and d.)
In the early common law the action of ejectment was one to recover damages only for the wrongful ouster, or invasion. Then it was merged into the right to recover possession and to settle title and establish the right of property. By gradual development the rule was adopted permitting the owner to sue in ejectment to recover possession and, either in the same action or in another, to recover the value of the use and occupation of the land, which is termed damages for the withholding.
(Johnston
v.
Fish,
*871 In Thompson v. Illinois Cent. R.R. Co. {supra) plaintiff had recovered and collected a judgment for damages for the market value of his land caused by defendant’s construction and maintenance of a railway embankment. He sued again for additional damages. It was held that he was bound by his election because, in the first suit, he treated the invasion as a permanent injury to his land, recovered damages based upon a substantial reduction in the market value of his land, and proceeded upon the theory “that he should be treated as having cheaper land because the permanent and wrongful construction would injure his land at future times as it had in the past.” (p. 197.)
In
Vanderslice
v.
Irondale Elec. etc. Co.,
This rule is controlling here. It should be noted that this is not a suit for successive damages, or successive trespasses, under section 1047 of the Code of Civil Procedure. This is a suit based upon the same cause of action as that involved in the former judgment. Respondent has an easement for the construction and maintenance of an oil pipe line over appellant’s land, and, mistakenly believing it had the right to do so, constructed a second and parallel line over the same land. Appellant, deeming herself injured by this act, sued in trespass for damages alleged to have been caused by the “installation, construction and maintenance” of the pipe line, and recovered judgment, in part, for the decrease in the “market value” of the property. The modified judgment having been fully satisfied, she must be deemed to have elected to waive the alleged unlawful entry and to permit the continued occupation of the right of way for the compensation paid under the prior judgment. She is thus barred from now asserting that the damages paid under the former judgment for the decrease in the market value were not received in full compensation for respondent’s occupancy of the land.
*872
We purposely refrain from deciding upon what specific legal hypothesis this conclusion is reached. The respondent pleaded that the former judgment and satisfaction was a bar to this proceeding. The text writers are not in accord whether the doctrine applicable is res judicata, estoppel, merger of judgment, or election of remedies. The latter doctrine is “ an extension of the law of estoppel. ’ ’
{Mailhes
v.
Investors Syndicate,
The judgment is affirmed.
Spence, J., and Dooling, J. pro tern., concurred.
A petition for a rehearing was denied June 26, 1943, and appellant’s petition for a hearing by the Supreme Court was denied July 26, 1943.
