*840 Opinion
This case raises again an issue on which we have recently spoken: the proper interpretation of the statutory requirement that a person who prosecutes a real property action pursuant to which he has recorded a notice of lis pendens prove his good faith or suffer expungement of that notice. (Codе Civ. Proc., § 409.1, subd. (b).)
1
In
Malcolm
v.
Superior Court
(1981)
We hold that (1) to avoid expungement of the lis pendens, the appellant must demonstrate by a preponderance of the evidence that he has litigated in good_faith both at trial and on appeal; (2) as a necessary but not sufficient condition of proving his good faith, he must show that his appeal constitutes a substantial challenge to the judgment; and (3) relevant findings made at trial are normally сonclusive in resolving factual disputes for purposes of the expungement motion.
I.
Beneficial Standard Properties sued Marriott Corporation for specific performance of an alleged contract to convey real property to Beneficial, and pursuant thereto recorded a lis pendens. Marriott then sоld the property to third parties Peery and Arrillaga (petitioners). Petitioners subsequently sued Beneficial to obtain declaratory relief from the cloud on the title resulting from Beneficial’s action against Marriott. Their action was consolidated with the Beneficial suit. All parties moved for summary judgment; the motions of petitioners and Marriott were granted, and Beneficial’s motion was denied. After Beneficial filed an appeal, the other parties moved in the trial court to expunge the lis pendens. (§ 409.1, subd. (b).) The trial court denied the motion, incorrectly citing
California-Hawaii Development, Inc.
v.
Superior Court
(1980)
*841 Petitioners now seek a writ of mandate pursuant to section 409.4, contending that the trial court erred by refusing to consider their allegation that Beneficial was prosecuting the case in bad faith. Beneficial asserts that petitioners have no standing to seek the writ, and that the trial court correctly denied the motion to expunge.
II.
We first address Beneficial’s challenge to petitioners’ standing. Beneficial correctly observes that the lis pendens statute authorizes ex-pungement only “upon motion of a party to the action ....”(§ 409.1.) Beneficial contends that because petitioners are parties not to the original action but to the separate, consolidated action to quiet title, they have no standing to move for expungement or to seek a writ of mandate if expungement is improperly denied.
The contention fails, for two reasons. First, Marriott was a party to both the original action and the motion to expunge, which was therefore properly before the trial court. Second, even if Peery and Arrillaga were not entitled to bring the expungement motion, an issue we do not decide, they need not have been parties to the motion in order to qualify as parties aggrieved within the meaning of the statute authorizing review by writ of mandate. (§ 409.4.) As in the case of the general mandamus statute (§ 1086) and the certiorari provisions (§ 1069), section 409.4 speaks of the affected “party.” But we have long held that one who petitions for an extraordinary writ need not have been a party to the action below so long as he demonstrates that he is beneficially interested in or affected by the outcome.
(Burlingame
v.
Justice's Court
(1934)
III.
Only two Courts of Appeal have considered postjudgment motions to expunge based on allegations of bad faith or improper purpose.
(Cali
*842
fornia-Hawaii Development, Inc.
v.
Superior Court, supra,
Both courts follow
Howden-Goetzl
v.
Superior Court
(1970)
Both courts also held that for purposes of lis pendens a case is still pending while an appeal is taken; hence unless a statutory ground for expungement is established, the lis pendens may remain on record during the pendency of the appeal.
(California-Hawaii,
Next we reach the issues on which the courts have not agreed.
United Professional
focused only on the plaintiff’s motives in commencing the action (9 Cal.App.3d at pр. 388, 394), thereby implying that his intent at subsequent stages of the litigation was irrelevant.
California-Hawaii,
on the other hand, concluded that the plaintiff’s motives throughout the course of the litigation and on appeal are to be considered. (
*843
At the time
United Professional
was decided, the statute provided that notice of lis pendens could be expunged if the movant proved that the party who rеcorded lis pendens either “commenced
or
prosecuted” the case in bad faith or for an improper purpose. (Italics added; § 409.1, added by Stats., 1968, ch. 815, § 1, p. 1572.) Because we must presume the Legislature imparted a separate significance to each portion of the statute
(Select Base Materials
v.
Board of Equal.
(1959)
In response to criticism that existing law did not adequately protect landowners from strike suits (see
Malcolm
v.
Superior Court, supra,
29 Cal.3d p. 524) the Legislature amended section 409.1 in 1976 to shift the burden of proving good faith to the party who recorded the lis pen-dens. Through apparent inadvertence, however, the Legislature thereby changed the logical effect of the disjunctive clause quoted above; now expungement is to be granted unless the party who recorded the lis pen-dens proves he either “commenced оr prosecuted” the case in good faith. A literal reading would dictate the unjustifiable result that a party who initiated a case in good faith could maintain the lis pendens to pressure for settlement by plaguing the other party and the court with dilatory motions and vexatious appeals long after all realistic hope of success on the merits had evaporated. We are confident the Legislature did not intend to reach this result in a revision adopted to strengthen the property owner’s power to escape from malicious attempts to force unwarranted settlements. Hence we agree with
California-Hawaii
that the present statute should be read as providing that the persоn having filed the lis pendens must prove to the court that he “‘has commenced [if just commenced] or prosecuted [to the present stage if beyond commencement] the action for a proper purpose and in good faith.’” (Brackets in original;
The courts also disagree regarding the extent to which the merits of the case and the proceedings at trial may be considered in ruling on the postjudgment expungement motion. Because the
United Professional
court focused only on the plaintiff’s motives in commencing the suit, it held (
In
Malcolm,
we recognized that the sole issue under section 409.1, subdivision (b), is the subjective intent of the party who recorded the lis pendens, and that a “minitrial” of the merits of the case to decide the motion to expunge is inappropriate.
(Id.,
The judgment is an important tool for determining the motives of the party bringing the appeal. Because the trial court’s decision is entitled to considerable deference on review
(People
v.
Samuel
(1981)
The patent lack of merit of an appeal from a sound judgment is equally demonstrative of an appellant’s improper purpose. Therefore, to *845 avoid expungement after judgment, the losing party must demonstrate that he will raise a substantial issue for review—that is, an issue the proper resolution of which could both affect the disposition of the real property at issue and be the subjеct of legitimate debate on appeal. Moreover, in a case in which the appellant makes substantial contentions of error, if the party seeking expungement introduces other evidence of the appellant’s bad faith or improper purpose the court may assess and consider the appellant’s chаnces of success on appeal in determining whether or not to credit the independent evidence. (Cf. Malcolm, 29 Cal.3d at pp. 528-529.) However, we reiterate that a weak case does not by itself demonstrate an improper motive. Hence, by analogy to the prejudgment setting, if the appellant has made a verified declaration of good faith and demonstrates the substantiality of the appeal, the appellee’s proof that the issues are likely to be resolved in his favor should not by itself justify expungement. (Cf. id. at p. 529.) 2
The judgment is often accompanied by findings resolving factual disputes that may be relevant to the plaintiff’s motives in bringing the suit. For instance, if the trial court has found nonexistent the alleged contract on which the plaintiff bases his claim, the court considering expungement could simplify and expedite its task by adopting that finding as forceful evidence of plaintiff’s bad faith in bringing the suit. Findings of fact may be disturbed on appeal only if no substantial evidence supports them. (See
Richter
v.
Walker
(1951)
In the present case, the court granted summary judgment against Beneficial (plaintiff below), reflecting its conclusion that Beneficial failed to establish a prima facie case. As noted above, in Malcolm we held that the failure to demonstrate a prima facie case could justify ex-pungement in some instances. In light of the rule adopted herein, however, we believe that although expungement will often be appropriate after summary judgment, the appellant should be given the opportunity to prove that the summary judgment raises substantial issues for appellate review and to otherwise demonstrate his good faith. Thus, for instance, if the appellant suffered summary judgment because he offered no evidence by affidavit or other hieans to support a crucial factual allegation in the complaint, expungement would be justified. If, howеver, he loses only because his theory of recovery represents a rule the status of which is unsettled, expungement might in effect deprive him of the property the appellate court ultimately decides is rightfully his. Of course, even in the latter case the party seeking expungement may prove by other means that the appellant has litigated for an improper purpose, and the tenuous nature of the appellant’s case may be considered in support of that independent proof.
The court below clearly erred in refusing to consider any substantive allegations or evidence from either party in denying the expungement motion. Because resolution оf the issues will likely require presentation of evidence by affidavit or other appropriate method and may also call for an inquiry into the necessity for and proper value of a bond (§ 409.1), the motion should be considered again by the trial court. (See
Stewart Development Co.
v.
Superior Court
(1980)
Let a peremptory writ of mandate issue to the Santa Clara Superior Court, commanding it to vacate its order denying the motion to expunge and to reconsider the motion in a manner consistent with this opinion.
*847 Bird, C. J., Tobriner, J., Richardson, J., Newman, J., Kaus, J., and Broussard, J., concurred.
Notes
Unless otherwise noted, all statutory citations hereinafter refer to the Code of Civil Procedure.
Beneficial argues that the trial court should not be allowed to consider the merits in ruling on the postjudgment expungement motion because the court cannot be expected to make a genuinely objective assessment of the likelihood that it will be reversed on appeal. In light of the rule we set forth herein, the perceived danger is overstated. First, the expungement motion is often referred tо the law and motion judge of the superior court rather than the judge who presided at trial. (See, e.g., United Professional, 9 Cal.App.3d at p. 382.) Second, the trial court may not expunge on the basis of the merits alone unless they so clearly weigh against the appellant that he is unable to present any substantial issue for review. We are confident that the trial court can objectively discriminate between those cases in which it finds the issues closely balanced and those cases in which it arrives at its ruling against the plaintiff without encountering legal or factual obstacles that could be the subject of serious debate on appeal. Third, the probable outcome of a legitimate appeal may be considered only if additional, independent evidence of bad faith is presented. Fourth, the court entertaining the motion to expunge has broad discretion to require the posting of a bond to protect the interests of the losing party. (§ 409.1; see also Malcolm, 29 Cal.3d at pp. 529-530.) Finally, a party whose lis pendens is expunged is given an explicit statutory right to immediately seek a writ of mandate to correct any abuse of discretion (§ 409.4).
