MR. JUSTICE SANNERdelivered the opinion of the court.
Suit by William Walsh to quiet title to the Peosta quartz lode, situate in Broadwater County, Montana. He claims exclusive ownership based upon discovery and location 'made July 10, 1914, followed by an appropriate marking of the boundaries and a due filing of the requisite certificate. The answer of the defendants asserts prior valid locations of the same ground under the title of Sidewiper by Harry Keinschmidt, Albert R. Kleinschmidt and the plaintiff on June 6 and July 2; the interests of the said Kleinsehmidts being thereafter and before the commencement of this action transferred to the defendant Ellen Kleinschmidt. The reply admits an attempted location of said ground as the Sidewiper on June 4, 1914, but alleges failure to mark the boundaries or make the recordation required by law; it also denies that the second Sidewiper location was made until August 2, 1914, or that it was followed by the requisite excavation or by the necessary filing. The findings of the jury material to this appeal were: (1) That the boundaries of the *59original Sidewiper located June 4. 1914, were marked within thirty days thereafter; (2) that the second notice of location of the Sidewiper was posted on July 2, 1914; (4) that plaintiff consented to the second location of the Sidewiper; (7) that the Kleinschmidts. did not on July 8 tell plaintiff they had abandoned the Sidewiper claim and would have nothing to do with it; (8) that the Kleinschmidts consented to plaintiff’s location of the Peosta for himself; (9) that such consent was upon the condition that they should have a one-fourth interest in the claim and a right of tunnel site. The court adopted these findings, and further found that Harry and Albert R. Kleinschmidt had assigned all their right, title and interest to Ellen Kleinschmidt. From these findings it was deduced as conclusions of law that by the first location of the Sidewiper on June 4 the land was withdrawn from entry, and the location of the Peosta was void “even though the locators of the Sidewiper did not complete their work in discovery shaft within the sixty days.” By the decree it was adjudged that the plaintiff “has no right, title, or interest in and to the premises * * * under and by virtue of the attempted location of the Peosta.” From this judgment, as also from an order denying him a new trial, the plaintiff has appealed.
If we accept as controlling the theory assigned in the conclusions of law, it is perfectly clear that the judgment cannot be affirmed; for it is certainly not correct to say that a prior [1] location which subsequently fails so absolutely withdraws the land from entry as to defeat a junior location of the same ground otherwise valid; quite the contrary was the holding of "this court in Helena Gold & Iron Co. v. Baggaley, 34 Mont. 464, 87 Pac. 455. Reverting, however, to the facts found in order that we may either uphold the judgment or otherwise finally determine the case — and we say without further elaboration that these findings are supported by sufficient evidence — we are [2] met by this situation: The Peosta was located after the second Sidewiper location, but by consent of the Kleinschmidts on certain conditions. This was tantamount to an agreement by *60the Kleinschmidts to abandon the claim or yield precedence to the appellant; hence it cannot be said that the Peosta was void because of conflict with the second Sidewiper location, assuming the latter to have been followed by proper recordation. But such abandonment or yielding was upon condition, accepted by the appellant, to-wit, that he should charge the Peosta with a one-fourth interest and a tunnel site in favor of the Kleinschmidts, and the claim stands charged accordingly.
Counsel say that this is beside the present case and is a [3] matter cognizable only in another action. We think otherwise. The controversy is in equity; all of it is before the court, and even though this feature was not elaborated in the pleading's, it was shadowed forth therein, was injected into the case at the outset by the appellant himself, evidence of it was presented, and the matter was permitted to go to a submission as though it were a defined issue in the case. The pleadings will therefore be considered as amended to conform to this proof; and the findings will be accepted as stating the established facts. Under these facts the decree should have been to recognize the Peosta as a valid location, but to decree that Ellen Kleinschmidt, as assignee of Harry and Albert K. Kleinschmidt, has an interest therein, to-wit, a one-fourth interest and the right of tunnel site.
The cause is therefore remanded, with directions to modify the decree accordingly. Each side will pay its own costs of appeal.
Modified.
Mr. Chief Justice Brantly and Mr. Justice Holloway concur.