
160 U.S. 103 (1895)
WASHINGTON AND IDAHO RAILROAD COMPANY
v.
OSBORN.
No. 5.
Supreme Court of United States.
Argued November 18, 14, 1895.
Decided December 2, 1895.
APPEAL FROM THE SUPREME COURT OF THE TERRITORY OF IDAHO.
*106 Mr. A.A. Hoehling, Jr., and Mr. Samuel Shellabarger, (with whom were Mr. J.F. Dillon, Mr. W.W. Cotton, and Mr. J.M. Wilson on the brief,) for appellant.
Mr. A.B. Browne, (with whom was Mr. A.T. Britton on the brief,) for appellee.
MR. JUSTICE SHIRAS, after stating the case, delivered the opinion of the court.
This case is before us on appeal from a judgment of the Supreme Court of the Territory of Idaho affirming a decree of the District Court of that Territory, which decree dismissed *107 a bill of complaint brought by the Washington and Idaho Railroad Company against William Osborn.
The railroad company was organized under the laws of the Territory of Washington, and was constructing its road from a point in that Territory, by a route through the Territory of Idaho, to the town of Missoula in the Territory of Montana. In constructing its road through the Territory of Idaho the plaintiff company encountered, in Shoshone County, a tract of land in possession of Osborn, across which the company desired to run the line of its road. Osborn refusing to grant permission, the railroad company instituted, under the laws of the Territory of Idaho, proceedings in condemnation to condemn a right of way for its railroad over and through the land of Osborn. Under these proceedings, damages were assessed in favor of Osborn in the sum of $6670. The railroad company then filed its bill, alleging that prior to the commencement of said proceedings for condemnation the company did not know nor could obtain sufficient information to advise it of the nature and character of Osborn's title, and that, from the testimony in those proceedings, the company was advised and believed that Osborn had no title or right to the possession of the premises and right of way sought to be condemned, and that in equity and good conscience it should not be compelled to pay Osborn any compensation for said right of way.
Conceding, but not deciding, that it was competent for the railroad company to abandon its condemnation proceedings, and to challenge the defendant's title by a bill in equity, we shall now consider the merits of the case as disclosed in the findings of facts.
The plaintiff's side of the controversy is substantially this: The Washington and Idaho Railroad Company, as a corporation of the Territory of Washington, having filed with the Secretary of the Interior a copy of its articles of incorporation and due proofs of its organization under the same, was entitled, under the act of March 3, 1875, c. 152, entitled "An act granting to railroads the right of way through the public lands of the United States," 18 Stat. 482, to a right of way through the public lands of the United States to the extent of *108 one hundred feet on each side of the central line of its road; and as the trial court found that the land claimed by Osborn was a part of the unsurveyed public domain of the United States, and that Osborn had never filed or entered the said land in any United States land office under any existing law of the United States, the company claims that it is within the doctrine of the many decisions of this court, which hold that a party, by mere settlement upon the lands of the United States, although with a declared intention to obtain a title to the same under the preëmption laws, does not thereby acquire such a vested interest in the premises as to deprive Congress of the power to divest it by a grant to another party. Frisbie v. Whitney, 9 Wall. 187; The Yosemite Valley case, 15 Wall. 77; Buxton v. Traver, 130 U.S. 232.
In brief, the plaintiff claims that, having been incorporated and organized under a law of the Territory of Washington, and having complied with the provisions of the act of March 3, 1875, the company became vested with a right of way through the public lands of the United States, subject only to the exception contained in the fifth section of said act, wherein it is enacted that the act shall not apply "to any lands within the limits of any military park or Indian reservation, or other lands specially reserved from sale," and within which exception the defendant's claim does not come.
It is claimed on the side of the defendant that while it is true that his rights, arising out of mere prior possession and cultivation of public lands, cannot prevent Congress from conferring these very lands on other parties by a grant, yet that Congress has not, in the present case, so conferred these lands on the plaintiff company, but has, on the contrary, recognized and preserved the defendant's rights by the provisions of the third section of the act of March 3, 1875.
In the case of Buxton v. Traver, 130 U.S. 232, 235, this court said: "A settlement upon the public lands in advance of the public surveys is allowed to parties who in good faith intend, when the surveys are made and returned to the local land office, to apply for their purchase. If, within a specified time after the surveys, and the return of the township plat, *109 the settler takes certain steps, that is, files a declaratory statement, such as is required when the surveys have preceded settlement, and performs certain other acts prescribed by law, he acquires for the first time a right of preëmption to the land... . He has been permitted by the government to occupy a certain portion of the public lands, and therefore is not a trespasser, on his statement that when the property is open to sale he intends to take the steps prescribed by law to purchase it; in which case he is to have the preference over others in purchasing, that is, the right to preëmpt it. The United States make no promise to sell him the land, nor do they enter into any contract with him upon the subject. They simply say to him, if you wish to settle upon a portion of the public lands, and purchase the title, you can occupy any unsurveyed lands which are vacant and have not been reserved from sale; and, when the public surveys are made and returned, the land not having been in the meantime withdrawn from sale, you can acquire, by pursuing certain steps, the right to purchase them."
It must, therefore, be conceded that Osborn did not, by maintaining possession for several years and putting valuable improvements thereon, preclude the government from dealing with the lands as its own, and from conferring them on another party by a subsequent grant.
On the other hand, it would not be easy to suppose that Congress would, in authorizing railroad companies to traverse the public lands, intend thereby to give them a right to run the lines of their roads at pleasure, regardless of the rights of settlers.
Accordingly, when we examine the act of March 3, 1875, upon which the plaintiff rests its claim of right to appropriate to its use, without compensation, the land and improvements of Osborn, we find, in the third section, an express provision saving the rights of settlers in possession. That section is in the following terms: "That the legislature of the proper Territory may provide for the manner in which private lands and possessory claims on the lands of the United States may be condemned, and where such provision shall *110 not have been made, such condemnation may be made in accordance with section three of the act entitled `An act to aid in the construction of a railroad and telegraph line from the Missouri River to the Pacific Ocean, and to secure to the government the use of the same for postal, military, and other purposes, approved July first, eighteen hundred and sixty-two,' approved July second, eighteen hundred and sixty-four."
The legislature of the Territory of Idaho, in pursuance of said third section, did provide a law for the condemnation by railroad companies of the right of way over possessory claims, (Rev. Stat. of Idaho, Title 7,) and undoubtedly the defendant's claim was a possessory one, within the meaning of the legislation of Congress. Indeed, as we have seen, the plaintiff company recognized the applicability of this section and instituted proceedings of condemnation under the Idaho act before it occurred to it to ask the aid of a court of equity in taking possession of the defendant's land and improvements without compensation.
We find no error in the judgment of the Supreme Court of the Territory of Idaho, and it is accordingly
Affirmed.
