—• This is a hill in equity to procure a decree that the defendant holds the title to certain lands in Marin County, for which he procured patent as a preemptor, in trust for plaintiff, on the ground that plaintiff had a better right thereto, and that defendant procured the patent by fraud, and through mistake and misconception of the law on the part of the officers of the land department of the government.
That a patent may be attacked in this way, and such relief be had in a proper case, has been held in very many cases. (Bludworth v. Lake, 33 Cal. 256; Eversdon v. Mayhew, 65 Cal. 163; Hosmer v. Wallace, 47 Cal. 461; Rutledge v. Murphy, 51 Cal. 388; Plummer v. Brown, 70 Cal. 544; Sanford v. Sanford, 13 Pac. Rep. 602; Johnson v. Towsley, 13 Wall. 72; Moore v. Robbins, 96 U. S. 530; Smelting Co. v. Kemp, 104 U. S. 636.) And such a ruling is in accord with section 2224 of the Civil Code.
*601But in such a case it is not enough to show that the defendant was not entitled to have received the patent. Plaintiff must also show that she herself occupies such a status towards the property as entitles her to control the legal title. (Plummer v. Brown, 70 Cal. 544.) If she claims priority of right to become the purchaser, and to receive the patent, it is not enough to allege that she had or has such right, for that is a mere conclusion of law; but she must show the state of facts which gave her the right, and also the facts showing that she took the legal steps to avail herself of such right. (Aurrecoechea v. Sinclair, 60 Cal. 532.)
The allegations of the complaint tending to show that the defendant was not entitled to pre-empt the land, that the same was not at the time subject to pre-emption, and that he was not entitled to have or receive the patent are, in our judgment, sufficient to constitute a 'cause of action in that behalf, and to put the defendant to his defense, so far as that branch of the case is concerned; but they show the legal title to be vested in the defendant, and before he can be called upon to defend that title against the plaintiff’s allegations of fraud, or be adjudged to hold it in trust for plaintiff, she must show a better right to have received the patent. She cannot recover on the weakness of defendant’s right alone, but must do so on the strength of her own.
On this branch of the case the complaint sets out a series of facts tending to show that at the time of the filing of the township plat the plaintiff had a priority of right to purchase the lands in question, under the act of July 23, 1866, to settle land titles in California, on the ground that she was a bona fide purchaser, and in possession, under a Mexican grant from which her lands had been excluded under the final survey; but the complaint failed to show the subsequent acts on her part necessary to preserve her right, and on the hearing she abandons all claim of right on that ground.
*602But as the basis of her right to attack the defendant’s patent, upon which she now relies, plaintiff avers that on the 8th of October, 1878, one Laney and one Parks were each entitled to an additional homestead entry, under the laws of the United States, and each made application to the register of the proper land-office to locate portions of the land in question, accompanying their said applications with proofs that the lands were non-mineral, and paying to the register the fees and charges required by law for the entry, which applications were refused- by the commissioner of the general land-office; that afterwards, and on the 5th of April, 1879, they respectively renewed their applications, and were again refused; that afterwards, and on the 27th of August, 1880, Laney again renewed his application as to a part of the lands, and again was refused; that on the 8th of September, 1880, one Holly was entitled to an additional homestead entry, and applied to the register of the land-office to locate a portion of the lands, accompanying his application with proof that the land was non-mineral, and paying the.fees of office for such entry, hut his application was refused. The complaint avers that at the time of each of said applications there was no valid adverse claim to the land. The complaint fails to state upon what ground the original applications of Laney and Parks were rejected, but there is no difficulty in determining, from the facts alleged, the ground upon which such rejection was based. The township plat of the lands had then just been returned by the surveyor-general to the district land-office, but it had not been finally approved by the land department; and, shortly after, such application was withdrawn, and was not finally filed, and did not become an authenticated public record until the 5th of February, 1879, four months after the making of such application. The lands were not, therefore, at the time of such application, open to entry or to selection under the additional homestead law. Mean*603time, the lands were not in possession of the applicants, — they never attempted to take possession of them,— but, as shown by the complaint, they were in part within the exterior boundaries of inclosures of plaintiff, and in part within the exterior boundaries of inclosures of one Brackett, and when the plat was finally approved and filed they were a part of the public domain, inclosed as aforesaid, in common with other lands held by the owners of the respective inclosures. It does not appear that either of the persons so having the lands inclosed ever filed a petition in the land-office, or any paper, claiming a right of priority of entry or purchase, under the act of 1866, or put the government upon any notice that they were in possession, or claimed to be purchasers, under a Mexican grant from the final survey of which they had been excluded.
The applications of Laney and Parks, made April 5, 1879, are not shown, as in all the other cases, to have been accompanied by any of the proofs required by law as to the character of the land, and presumptively were not so accompanied. It is probably for this cause that they w'ere then rejected, the complaint failing to state what, if any, reason was given for this rejection.
All the applications made by Laney, Parks, and Holly, in 1880, the complaint shows, were rejected because the defendant had acquired the right of pre-emption of the lands; and it further appears, from the complaint, that defendant had filed his declaratory statement as a preemptor as early as April 18, 1879, and was then in possession of a portion of the demanded and pre-empted premises, which had before that time been included' within the inclosures of Brackett. It does not appear that Brackett ever objected to defendant’s entry or possession. Heither does it appear that the applicants for homestead entry, or either of them, ever appealed to the commissioner of the general land-office from the order of the register and receiver rejecting their applications, or *604took any proceedings whatever to secure the approval of their applications, or contest the right of the defendant. On the contrary, the rejection seems to have been accepted as final, and they and their successor in interest remained silent and passive until the defendant had proved up, paid for his land, and secured his patent.
Plaintiff further alleges that these several applications to make additional homestead entries were made for her benefit, with her assent, and by her procurement, and that for a valuable consideration she has become the owner of all the right, title, and interest of the said applicants, and of the said Brackett, in the lands described in the complaint. Concede all this to be true, the complaint fails to show that they, or either of them, ever had any right, title, or interest in the lands to convey. Neither naked possession of the public domain, nor a rejected application for leave to enter it, under whatever law it may be made, if acquiesced in, as was done in this case, so far as appears from the complaint, will give any such right of title as will enable the party successfully to attack a patent issued by the government to another. Assuming that these additional soldiers’ homestead entries might under the law be made in the name of the soldier, at the instigation and for the benefit of a third party (a matter, however, upon which we do not pass), and having been made and approved, might thereafter be alienated before patent, as was held in Rose v. Wood and Lumber Company, 73 Cal. 385, cited by appellant, it does not help the plaintiff in this case at all; for here the entry was not made, and no right was acquired by a mere application, abandoned at the first adverse decision.
■ From these views it appears that the plaintiff has failed to show any right in the premises which entitles her to attack the defendant’s patent, and therefore has failed to state in her complaint facts sufficient to constitute a *605cause of action. Tlie demurrer to her complaint was properly sustained.
The complaint in this case had already been once amended. The demurrer was sustained, without leave to amend. At the conclusion of the oral argument upon the hearing here in Bank, it was suggested that this was error, and that the court below should have given the plaintiff leave again to amend.
The privilege of amending, after trial of the issue of law raised by demurrer, is not one of right, but one resting in the discretion of the trial court. (Code Civ. Proc., sec. 472.) If the plaintiff desired again to amend, she should have applied to the court below, and if refused, exception should have been taken. It is too late to make the point for the first time in this court, when nothing appears on the record to show an abuse of discretion.
Judgment affirmed.
McFarland, J., Paterson, J., Sharpstein, J., and Thornton, J., concurred.