delivered the opinion of the court.
By the act of Congress of March 3, 1887, c. 376, it was pro *104 vided that if, at the completion of the adjustments of land grants thereby directed to be made, of sooner, it appeared that lands had been from any cause'erroneously certifiédor patented to or for any company claiming by, through or under grant from the United States to aid in the construction of a railroad, it should be the duty of the Secretary of the Interior to thereupon demand from such company a relinquishment or reconveyance to the United States of all such lands, whether within granted or indemnity limits; and if the company did not re-convey within ninety days after demand made, it should thereupon be the duty of the Attorney Genera!to commence and prosecute in the proper courts the necessary proceedings to cancel the patents, certification or other evidence of title theretofore issued for the lands, and to restore the title thereof to the United States. 24 Stat. 556, c. 376.
In
United States
v.
Missouri &c. Railway,
In this state of the law, the present suit was brought by the United States against the Oregon and California Railroad Company in order to obtain a decree cancelling certain patents for lands, which, it was alleged, had been illegally and by mistake issued in the name of .the United States to that company, which succeeded to the rights of the Oregon Central Railroad Company.
The case was heard upon a stipulation as to evidence, from which the following facts appear:
By the act of Congress of July 25, 1866, c. 242,14 Stat. 239,. the California and Oregon Railroad Company, and such company organized under the laws of Oregon as the Legislature of the latter State designated, were authorized to locate, construct and maintain a railroad and telegraph line between Portland, Oregon, and the Central Pacific Railroad Company in California.
For the purpose of aiding in the construction of that line, Congress granted to those companies, their successors and assigns, every alternate odd-numbered section of public lands, not mineral, to the amount of twenty sections per mile, (ten on each side,) of the railroad line. But the act provided that when any of the alternate sections or parts of sections should be found “ to have been granted, sold, reserved, occupied by homestead settlers, preempted, or otherwise disposed of, other lands, designated as aforesaid, shall be selected by said companies in lied thereof, under the direction of the Secretary of the Interior, in alternate sections designated by odd numbers as aforesaid, near *106 est- to and not more than ten miles beyond the limits of said first-named alternate sections ; and as soon as the said companies, or either of them, shall file in the office of the Secretary of the Interior a map of the survey of said railroad, or any portion thereof,- not less than sixty continuous miles from either terminus, the Secretary of the Interior shall withdraw from sale public lands herein granted on each side of said railroad, so far as located and within the limits before specified. . . . Settlers under the provisions of the homestead act, who comply with the terms and requirements of said act, shall be entitled, within the limits of said grant, to patents for an amount not exceeding eighty acres of the land so reserved by the United States, anything in this act to-the contrary notwithstanding.”
The Oregon Central Railroad Company was designated by the Oregon' Legislature as the company organized. under the laws of Oregon, entitled to receive the granted lands in Oregon, and the benefits and privileges of the above act of 1866.
Prior to October, 1869, that company definitely fixed on the ground and surveyed the first section of the railroad in Oregon. That section extended from Portland to Jefferson, and comprised not less than sixty continuous miles from the northern terminus of the road ; and on October 25, 1869, the company filed in the office of the Secretary of the Interior, and on January 29, 1870, the Secretary duly accepted and approved, a map of the survey and definite location of that section.
During the year 1869 and the months of January and February, 1870, the company definitely fixed on the ground and surveyed the s.econd section of its road, which section comprised not less than 124 continuous miles from Jefferson ;• and on March 26, 1870,- filed in the office of the Secretary, and on March 29,1870, that, officer accepted and approved, a map of the survey and definite -location of that section.
On the 7th of April, 1870, the Commissioner,of the General Land Office, under the direction of the Secretary of the Interior, withdrew all the odd-numbered sections of land lying within thirty miles on each side of the railroad (as shown on the map of survey and definite location filed with the Secretary on Marph 26, 1870.,)- from sale or location, preemption or home *107 stead entry; and that withdrawal remained continuously thereafter in force, except so far as, if at all, it was affected by an order of the Secretary made August 15, 1887,- revoking the order of April 7, 1870, as to the odd-numbered. sections lying within the indemnity limits of the grant made in 1866, and declaring the odd-numbered sections, lying within such indemnity limits, to be restored to the public domain, subject to preemption and homestead entry, as well as to the provisions of the above grant. The lands so withdrawn April 7, 1870, were within the jurisdiction of the district local land office at Rose-burg, and notice of such withdrawal was received at that office on April 25, 1870.
During the years 1868 and 1869, and prior to December the 25th, 1869, the Oregon Central Railroad Company constructed and fully equipped the first twenty miles-of the railroad contemplated by the act of 1866, commencing at Portland and extending alpng the line shown upon the map filed in the office of the Secretary of the Interior on.October the 29th, 1869. And in the years 1869 and 1870, and prior to September the 1st, 1870, the above two companies fully equipped the second twenty miles of the railroad, commencing at the end of the first constructed twenty miles and extending along the line shown on the map to a point distant forty miles from the commencement of the railroad at Portland — a portion of the second twenty miles having been constructed by the Oregon Central Rail road Company, the remainder by the defendant.
The whole line of railroad contemplated by the act of 1866, commencing at the end of the second constructed twenty miles, was constructed by the defendant company during the years 1870, 1871 and 1872 ; and prior to December the 4th, 1872, the entire line from Portland to Roseburg was continuously operated for all the purposes contemplated by Congress.
Commissioners were appointed by the President to examine the railroad as constructed from Portland, to Roseburg. That duty was performed, and they reported to the President, under oath, that the railroad between those points had been completed and equipped in all respects as required, and was ready for the service contemplated by the act of 1^66. Those reports were *108 duly accepted and approved by the President. The report as to the seventh, eighth and ninth sections, including the last seventy-eight miles of the road from Portland to Roseburg, was made on July 10,1878, and the next day was accepted and approved.
The remaining part of the road in Oregon, extending from Roseburg to the southern boundary of that State, was constructed, fully equipped and made ready by the defendant company during the years 1878 to 1889, inclusive, and all prior to the year 1900. It was duly examined by commissioners who reported thereon, and their reports were accepted and approved.
All the lands described in the bill of complaint are distant more than twenty miles from but lie within thirty miles on one side of the road extending from Jefferson to Roseburg, shown on the map filed March 26,1870; and they were all included and embraced by the withdraAval made by the Secretary on the 7th of April, 1870.
No part or portion of the lands described in the bill of complaint are mineral lands, nor are they included by any exception or reservation from the indemnity land grant in Oregon, made by the act of 1866, except so far as, if at all, they were excepted, or reserved therefrom by reason of the settlements and facts hereinafter to be referred to.
On August 16,1892, all the lands described in the bill Avere frée and clear for selection by the defendant company as part and parcel of the indemnity lands granted by the act of Congress, except so far as, if at all, they were excepted or reserved by those settlements and facts.
>1 On the 16th of August, 1892, and the 19th of October, 1892, the defendant company filed Avith the register and receiver of ihe United States Land Office at Roseburg its several lists selecting the lands in question as indemnity lands in lieu of lands of'equal area, parts of odd-numbered sections within the primary limits ofi the grant made in 1866 and otherAvise disposed of by the United States prior to the passage of that . act. Those lists were accompanied by the fees, costs and charges required by laAV, and :in all respects conformed to the directions, rules, regulations and ’requirements of the Secretary of the Interior and of the Com *109 missioner of the General Land Office. They were severally approved and certified by the register and receiver, and the defendant company had not then, nor has it subsequently, selected or received lands in lieu of those therein described as the basis of selections by it made, other than the lands so selected by said lists.
In the following years the following persons, each being a duly qualified entryman under the homestead laws of the United States, settled upon the lands respectively claimed for them in this suit, to wit: 1869, Louis [Charles] Heller; 1878, J. R. Peters ; 1878, John Sapp; 1882, George C. Peck; 1883, Uriah W. Wren; 1885, Baxter W. Jenkins; 1885, Charles E. Barton; 1888, Joseph A. Cox; 1889, Charles W. Seeley; 1889, John W. Carey; 1890, F. W. Huddleston; 1890, Alfred R. Young; 1890, Abraham M. Peck. Each person made his settlement with the intention of making a homestead entry of the lands, whenever that could be done under the acts of Congress. After the date of settlement each settler continuously resided and made improvements upon his land in the way of a dwelling house, barn, outhouses, fencing, clearing and planting of trees. And on October 27, 1892, within ninety days after the official plat of the survey of the lands was filed in the United States Land Office at Roseburg, each settler, in good faith, filed a formal application in the land office for a homestead entry of and for the lands upon which he settled and improved and upon which he continuously resided after the date of his first occupancy.
On the 20th of February, 1893, the Commissioner of the Land Office and the Secretary of the Interior having approved the selections made by the railroad company, a patent was issued conveying to it all the lands in dispute. But when the company’s lists were approved neither the Commissioner nor the Secretary had any knowledge of the adverse claims of the above settlers to the lands upon which they respectively resided, and which the United States now claims for them.
On the 27th day of October, 1893, the land grant made by the act of 1866 being still unadjusted, the Commissioner of the Land Office demanded of the railroad company a reconveyance of the lands covered by the patent cf 1893 upon the ground *110 that' the patent to it had been erroneously issued. The company, refused to reconvey, and claims to be the owner of 'such lands. Hence the present suit to have, that patent cancelled.
■ ' The Circuit Court, upon final hearing, found the equities of the case to be with the United States, and a decree was entered cancelling the patent issued to the Oregon and California Railroad Company. That decree was affirmed by the Circuit Court of Appeals, 109 Fed. Rep. 514.
1. Some of the questions referred to in argument as bearing upon the issues presented by the record have been determined by decisions of this court rendered since this litigation commenced.
In
Hewitt
v.
Schultz,
In
Nelson
v.
Northern Pacific
Railway,
*112 These principles are applicable to the present case if, as contended by the United States, the railroad company did . not acquire, and could not have acquired, an interest in specific sections of lands within the indemnity limits before their actual and approved selection, under the direction of the Secretary prior to the date of occupancy by the respective settlers.
2. We have seen, from the stipulated facts, that it was not until 1892 that the railroad company made its selection of lands within the indemnity limits to supply deficiencies in its place or granted limits. But this occurred after each one of the entrymen, whose rights the Government is now seeking to protect, had made his settlement with the intention to follow it up by a
bona fide
entry under the homestead laws. In other words, the lands were “ occupied by homestead settlers ” (to use the words of the granting act of 1866) at the time they were selected by the railroad company. Now, it has long been settled that while a railroad company, after its definite location, acquires an interest in the odd-numbered sections within its place or granted limits — which interest relates back to the date of the granting act — the rule is otherwise as to lands within indemnity limits. As to lands of the latter class, the company acquires no interest in any specific sections until a-selection is made with the approval of the Land Department; and then its right relates to the date of the selection. And nothing stands in the way of a disposition of indemnity lands, prior to selection, as Congress may choose to make. In
Ryan
v.
Railroad
Company,
3. But it is contended that as the selection by the company (except as to the tract which was occupied in 1869, before any
*114
selection by the company of lieu lands) was prior to the application by the respective settlers for entry under the homestead laws, its right to the lands in question was superior to that asserted by the settlers. This view is completely met by the fact that the settler, by prior occupancy in good faith, could .'avail himself of the homestead acts whenever, by an official survey, the way is opened by the Government for him to do so,' and by the fact that, within ninety days after these lands were surveyed, he filed in the proper office his application to enter them under the homestead laws of the United States. He ■moved with due diligence to protect and perfect the right acquired by his occupancy of the land with the intention to-avail ■himself of the benefit of those laws. That right was not to :be affected or impaired by the fact that the lands were not surveyed at the date of occupancy.
Nelson
v.
Northern Pacific Railway,
above cited;
Ard
v.
Brandon,
4. It is also said that all the lands within the indemnity limits were required to supply the deficit in place limits arising from the disposition prior to definite location by sale and otherwise of lands within the granted limits. But the extent to which lieu lands could be required to supply such deficit in place lands could not be properly or legally determined until there was an adjustment of the grant of lands in respect of place limits. In any event, no such adjustment having taken place prior to the date of the settler’s bona fide occupancy, his rights, based upon such occupancy, would not be affected by the fact, subsequently appearing, in whatever way, that all the odd-numbered sections within the indemnity limits were needed to supply deficiencies in place limits. At the time the settler went upon the land, in good faith, to make it his home and to perfect his title under the homestead laws, there was nothing of record that stood in the way of his right to occupy the lands and to remain thereon until he could perfect his title by formal entry under the homestead laws.
Other points were made in the argument of the case, but they need not be specially noticed, as what we have said re *116 quires, independently of those points, an affirmance of the decree of the Circuit Court and the Circuit Court of Appeals.
The decree is
Affirmed.
