This action was brought by the defendant in error against plaintiff in error in the district court of Foster county, state of North Dakota, to recover compensation for injury to his land by the construction and operation of the railroad of the plaintiff in error.

Defendant in error has a patent to the land, and the question is whether, before his settlement under the homestead laws, plaintiff in error acquired a right of way over the land for its railroad under the act of March 3, 1875. 18 Stat. at L. 482, chap. 152, U. S. Comp. Stat. 1901, p. 1568.

The trial court held: (1) That defendant in error was 'the owner in absolute fee simple of the land' and that his title related back to July 1, 1892,the date of his settlement. (2) That the railroad 'having attempted to acquire a right of way across said land before and in anticipation of the construction of its railroad, in compliance with the provisions of § 4 of the act of Congress approved March 3, 1875, the filing with the register of the district land office, and approval by the Secretary of the Interior, of the plat or profile of the section of its railroad extending across said land, was a condition precedent to the acquisition or claim on its part to right of way, and any title, estate, or interest acquired by it in or to said land dates from said filing and approval.' Judgment was entered for the sum of $1,000 damages and costs, and it was adjudged, upon paying the sum, the title to the right of way should vest in the railroad company.

The facts, as recited by the supreme court in its opinion, are as follows:

'On June 25, 1892, the plaintiff's application to enter the quarter section in question was presented to and accepted by the register and receiver of the United States land office at Fargo. On July 1, 1892, the plaintiff took up his residence on the land under his homestead entry and in all things complied with the Federal homestead laws. On November 4, 1899, a patent conveying the title to him was issued. That instrument makes no mention of any easement in favor of the railroad.

'The defendant railway company was organized in 1891. Its articles were filed with the Secretary of the Interior on March 26, 1891, and approved by him on April 15, 1891; and it thereby became entitled to the benefit of the act of March 3, 1875.

'In October, 1891, the company made a preliminary survey of its proposed line of railway across the land; and on May 13, 1892, completed its final survey, definitely fixing the line of its proposed road over the quarter section. The line as surveyed was marked by stakes driven into the ground 100 feet apart, indicating the center of the roadway to be constructed. The definite location of the route as fixed by this survey was approved and adopted by the company's board of directors on June 17, 1892, being eight days before the plaintiff made his homestead filing.

'The map or profile of its road as thus definitely located was filed in the local land office at Fargo on July 20, 1892, and received the approval of the Secretary of the Interior on October 14, 1892. In the latter part of July, 1892, the company constructed its road across the land, on the line as surveyed, and ever since has operated its railway over the roadway so constructed, using and appropriating for that purpose a strip 200 feet wide, 100 feet on each side of the center of the track.' 107 N. W. 971.

On these facts the court affirmed the judgment of the trial court, basing its decision on Jamestown & N. R. Co. v. Jones,
177 U. S. 125, 44 L. ed. 698, 20 Sup. Ct. Rep. 568. The court said that it was a necessary inference from that case 'that actual construction is the only sufficient act, other than compliance with § 4, to constitute a definite location, and the right of way does not exist before actual construction unless the company's profile map has been approved by the Secretary before the settler's rights attached.' It will be necessary, therefore, to consider § 4 of the act and its interpretation in that case.

Section 1 of the act reads: 'That the right of way through the public lands of the United States is hereby granted to any railroad company . . . which shall have filed with the Secretary of the Interior a copy of its articles of incorporation, and due proofs of its organization, . . . to the extent of one hundred feet on each side of the central line of said road.'

Section 4 reads as follows:

'Sec. 4. That any railroad company desiring to secure the benefits of this act shall, within twelve months after the location of any section of twenty miles of its road, if the same be upon surveyed lands, and, if upon unsurveyed lands, within twelve months after the survey thereof by the United States, file with the register of the land office for the district where such land is located a profile of its road; and upon approval thereof by the Secretary of the Interior the same shall be noted upon the plats in said office; and thereafter all such lands over which such right of way shall pass shall be disposed of, subject to such right of way: Provided, That if any section of said road shall not be completed within five years after the location of said section, the rights herein granted shall be forfeited as to any such uncompleted section of said road.'

Did the district court and the supreme court construe this section correctly? The railroad contends against an affirmative answer, and urges that it is the location of its road which initiates a railroad company's right, and which, 'if regularly followed up, makes it the first in right as to any unoccupied government land.' And this, it is contended, is a necessary conclusion from other provisions which make the location the first act, the act from which 'everything is reckoned,'the time within which the map must be filed and the time within which the road must be built. And it is further urged that an entry upon the land to locate the road is as necessary as an entry on the land to build the road, and, being there, the railroad 'could not become a trespasser, either as to the government or as to the plaintiff.' In further support of the contention it is pointed out that Congress gave the company twelve months after the location within which to make its filing, and, therefore, in analogy to pre-emption and homestead laws, Congress intended to protect the location during the time allowed for the filing of the profile or plat. But § 4 gives little play to construction or the analogies which the company invoke. That section determines the priority of rights between railroads and settlers by explicit language. A right of way is granted, but to secure it three things are necessary: (1) Location of the road; (2) filing a profile of it in the local land office; and (3) the approval thereof by the Secretary of the Interior, to be noted upon the plats in the local office. It is after these things are done that the statute fixes the right of the railroad and subjects the disposition of the land, under the land laws, to that right. 'And thereafter,' are the words of the statute, 'all such lands over which such right of way shall pass shall be disposed of subject to such right of way.' It would be a free construction of these words to give them the meaning for which the railroad company contends. They neither convey an unnatural sense nor lead to an unnatural consequence. Unless rights under the act of 1875 and rights under the land laws were to be kept for an indeterminate time in uncertainty and possible conflict, to fix some act or point of time at which they should attach was natural, and to construe language which is apt and adequate by its sense and arrangement to express one time to mean another would be a pretty free exercise of construction. We admit that the letter of a statute is not always adhered to and words may be transposed, but the necessity for it must be indicated to accomplish the purpose of the legislation . There is always a presumption that the words were intended as written and in the order as written; certainly, when they express a definite sense which would be changed to another with different and opposing legal consequences. The railroad company, however, contends for that result. We have stated its contentions, and, it is urged, if there is difficulty in accepting them, it arises 'from a too rigid and literal or verbal construction' of § 4; 'that the word 'thereafter' means only after the last act recited has been done. Whereas it is perfectly legitimate to consider that the term 'thereafter' applied to the first thing which the railroad company was required to do, to wit, the location of its road. That it refers to the whole group of acts for securing the title, and that, by the doctrine of relation, when the map is approved the title vests in the railway company as of the date of the location of its road.' And this it is further urged, is the rule applied to pre-emptors on the public lands and which this court has applied to some railway land grants. The contention is supported by Kinion v. Kansas City, Ft. S. & M. R. Co. 118 Mo. 577, 24 S. W. 636; Lewis v. Rio Grande Western R. Co. 17 Utah, 504, 54 Pac. 981; and, it is urged, by Denver & R. G. R. Co. v. Hanoum, 19 Colo. 162, 34 Pac. 838. It is opposed by Lilienthal v. Southern California R. Co. 56 Fed. 701; Larsen v. Oregon R. & Nav. Co. 19 Or. 240, 23 Pac. 974; Hamilton v. Spokane & P. R. Co. 3 Idaho, 164, 28 Pac. 408; Enoch v. Spokane Falls & N. R. Co. 6 Wash. 393, 33 Pac. 966; Denver & R. G. R. Co. v. Wilson, 28 Colo. 6, 62 Pac. 843. The simple weight of opinion is against the contention of the railroad, and its counsel meets the fact squarely, and says that those cases 'are, in their broad scope, in clear and unmistakable conflict with the fundamental principle on which' Jamestown & N. R. Co. v. Jones was decided, 'and rest upon the hard and fixed proposition that no railroad company under this act act of 1875 could get any right in the land until its map was approved.' But counsel, while invoking the 'fundamental principle' of Jamestown & N. R. Co. v. Jones, attacks the construction of the statute there made and the reasoning which led us to the principle.

That case decided three propositions: (1) That a railroad company becomes specifically a grantee under the act of 1875 by filing its articles of incorporation and due proof of its organization under the same with the Secretary of the Interior. (2) That the lands granted were identified by a definite location of the right of way, and, sustaining the contention of the railroad that definite location could be made by actual construction of the road, against the decision of the lower courts that such location could only be made by a profile map of the road, we said that the contention gives practical operation to the statute and enables the railroad company to secure the grant by anactual construction of the road, or, in advance of construction, by filing a map as provided in § 4. (3) Actual construction of the road is certainly unmistakable evidence and notice of appropriation.

This, it is now contended or intimated, reads something into the statute which is not there, and that the Jamestown & Northern Railway Company 'could only maintain its claim to right of way upon the same construction of the statute as that for which the plaintiff in error contends.' In other words, location initiated the company's right, and any other view will put Jamestown & N. R. Co. v. Jones in opposition to the decisions in railway land grant cases. The latter proposition was disposed of in the case. The answer to the other is contained in the words of the statute, and the essential difference between a mere location, movable at the will of the company, and the actual construction of the road, necessarily fixing its position and consummating the purpose for which the grant of a right of way was given.