after stating the case, delivered the opinion of the court.
Two questions are presented by the record in this case. First, whether the defendant lost the power to take possession of its right of way by its failure to construct its road within the time limited by the acts of Congress. And second, whether it is estopped to claim that it took nothing under its deed from the plaintiff, and may set up a separate and independent title in itself.
1. By section 2 of an act of Congress approved July 25, 1866, entitled “An act granting lands to aid in the construction of a railroad and telegraph line from the Central Pacific-Railroad in California, to Portland, in Oregon,” 14 St-at. 239,. there was granted to such company organized under the laws; of Oregon, as the legislature of said State should thereafter designate, to aid in the construction of its road, “ every alternate section of public land, not mineral, designated by odd numbers, to the amount of twenty alternate sections per mile,” not otherwise- disposed of by the United States, with ■tV r'ght to select from the odd sections, within ten miles-beyond the limits of the granted lands, other lands in lieu of any which might have been so disposed of prior to the location of the line; and by section 3 there was granted to it the right-of way through the public lands, to the extent of 100 feet in width on each side of said railroad, where it might pass over the public lands, including all necessary grounds for stations; etc.
By section 6 the companies were required to file their assent to the act within one year; to complete the first twenty miles within two years, and at least twénty miles in each year thereafter, and the whole on or before the 1st of July, 1875.
*674 Section 8 provided that in case the company should not ■complete the same as provided in section 6, “ this act shall be null and void, and all the lands not conveyed by patent to said company or companies, as the case may be, at the date of any such failure, shall revert to the United States; ” but by a subsequent act of' June 25, 1868, 15 Stat. 80, the time for completing the road was extended to July 1, 1880.
That the company did not complete its road by the time limited by the act of 1868, namely, July 1, 1880, is conceded by both parties, and is evident from the fact that the defendant took- this deed from the plaintiff on December 3, 1883, wherein, for the consideration of $250, it was agreed that the ■defendant might enter upon plaintiff’s water ditch, and construct and operate its railroad and telegraph line over the ■same. Indeed, it appears to have been a matter of- such common knowledge in the State of Oregon that the road was not ■constructed until after 1880, that the court below was inclined to take judicial notice of the fact.
The act making the grant in aid of this road does not, in its words of conveyance, differ materially from a large number of similar acts passed by Congress in aid of the construction of roads in different parts of the West, which have been considered by this court as taking effect
inprcesenti,
although the particular lands to which the grant is applicable remain to be selected and identified when the road is located, and the map is filed with the Secretary of the Interior. The act then operates as a grant of all odd-numbered sections within the limits, except so far as they’ may have been in the meantime-
“
granted, sold, reserved, occupied by homestead settlers, preempted or otherwise disposed of.” And in all the cases in which the question has been passed upon by this court, the failure to complete the road within the time limited is treated as a condition subsequent, not operating
ipso facto
as a revocation of the grant, but as authorizing the government itself to take advantage of it, and forfeit the grant by judicial proceedings, or by an act of Congress, resuming title to the lands. Thus in
Schulenberg
v.
Harriman,
An effort is made to distinguish this case from Schulenberg v. Harriman,, .in the fact that the act not only declares that the lands “shall revert to the United States,” but that the act *676 itself “ shall be null and void,” from which it is argued that it was the intention of Congress that the failure to complete the road should operate ipso facto as a termination of all right to acquire any further interest in any lands not then patented. It is true that the language of this statute differs somewhat from that ordinarily employed by Congress in connection with similar grants; but the declaration that the lands “shall revert to the United States” is practically equivalent to a declaration that the act granting such lands shall cease to be operative if the company fail to. complete its road within a specified time, or as Mr. Justice Field puts it in Schulenberg v. Harriman: “ The provision in the act-of Congress of 1856, that all lands remaining unsold after ten years shall revert to the United States, if the road be not then completed, is no more than a provision that the grant shall be void if a condition subsequent be not performed.” The title to the land having vested in the company by virtue of the grant, the provision that it shall complete the road within a certain number of years does not cease to be a condition subsequent by declaring that the act shall be null and void, if the condition be not complied with.
And the law is well settled that it is only-the grantor, or those in privity with him, who can take advantage of the forfeiture. Indeed, the provision that “this act shall be null and void ” is immediately followed by words indicating that it is only to a limited extent, that is, so far only as lands not already patented are concerned, that the nullity of the act extends, the language being:' “This act shall be null and void, and all the lands not conveyed by patent to said company or companies, as the case may be, at the date of any such failure, shall revert to the United States.” As to lands theretofore patented the act continued in full force and effect. As remarked by the learned judge of the court below: “ It is to become ‘null’ only so far as to allow the grantor to resume the grant on a failure to comply with the condition, and then only as to the lands remaining unpatented or unearned; and, but for this qualification the grant might have been wholly resumed or forfeited for any failure to comply with the condi *677 tion, even in the construction of the last mile. And this construction of the section is in harmony with the general purpose of the act and the policy of Congress in making the grant.” A condition that would put it beyond the power of the company to build the last mile of its road by the aid of the granted lands is manifestly so harsh and unjust, that the breach of such condition ought not to be treated as a forfeiture, unless the language of the- act be so clear and unambiguous as to admit of no other reasonable construction. ' .
Counsel for plaintiff has called our attention to several cases-decided by the Court of Appeals of New York which doubtless have a bearing upon this question, but which, when carefully examined, are readily distinguishable.
Matter of Brooklyn &c. Ry. Co.,
More directly in point is the case of Oakland Railroad Co. v. Oakland, Brooklyn &c. Railroad Co., 45 California, 365. In this case an act of the legislature granting a corporation the right, of Avay to lay a street railroad track provided “ that, *678 if the provisions of this act are not complied with, then the franchise and privileges herein granted shall utterly cease and be forfeited.” A breach of this condition was held ipso facto to forfeit the franchises of the corporation. A distinction was drawn in this case between forfeitures at common law, which did not operate to divest the title of the owner until, by proper judgment in a suit instituted for that purpose, the rights of the State had been established, and a forfeiture declared by statute, in which case the title to the thing forfeited vests immediately in the State, .upon the happening of the event for which the forfeiture is declared.
The doctrine of these cases has not been universally accepted, however, and in several States, notably in Massachusetts, it has béen distinctly repudiated. Thus, in
Briggs
v.
Cape Cod Ship Canal
Company,
In
Atchafalaya Bank
v. Dawson,
Upon the whole we think there is nothing to distinguish . this case from Schulenberg v. Harriman, and that the learned judge of the court below was correct in holding that the railroad company had not forfeited its' right to construct its road by failure to complete.the same within the time limited.
The distinction between a right of way over the public lands, and lands granted in aid of the construction of the road, is important in this connection-. As to the latter, the rights of settlers or others who acquire the lan'ds by purchase or
*680
occupation between the passage of the act and the actual location and identification of the lands, are preserved unimpaired, while the grant of the right of way is subject to no such condition; and in the construction given by this court to a similar grant in
Railroad Company
v. Baldwin,
The only title which the plaintiff seems to have had to the land in question was by virtue of an appropriation or occupation of the same under the act of July 26, 1866, “granting the right of way to ditch and canal owners over the public lands, and for other purposes.” 14 Stat. 251. But as his occupation dates only from May, 1879, long áfter the defendant company had become entitled to its right of way over these lands .by virtue of the act of July 25, 1866, his claim was clearly subordinate to that of the railroad company. Under this act the plaintiff acquired no right to any portion of the public lands until his actual taking possession of the same for the purpose of constructing a ditch, and in so doing he took the risk of encroaching upon the right of way which the railroad company might thereafter select for the purposes of their road. This very question arose in the Supreme Court of California, in the case of Doran v. Central Pacific Railroad Company, 24 California, 245, in which the court observed, p. 259, that “ the grant by Congress of the right of way over any portion of the public land, to which the United States have title, and to .which private rights have not been attached under the laws of Congress, vests in the grantee the full and complete right of entry for the purpose of enjoying the right granted, and no person claiming in his own right any interest in the lands can *681 prevent the grantee from entering, in pursuance of his grant, or can recover damages that may necessarily be occasioned by such entry.” We regard this exposition of the law as sound, and the case as exactly in point in this connection.
2. With regard to the question of estoppel, the complaint alleges that the defendant went into possession of that portion of the plaintiff’s ditch across which its road was constructed, under a deed from plaintiff and his tenant in common, for a consideration of $250 paid, and assented to the condition therein contained against impairing or destroying said ditch, the only right conveyed being a license “ to enter on said ditch and construct and operate its road over the same,” upon such condition. The contention of the plaintiff is that in receiving this deed and entering into possession the relation of landlord and tenant was created between them, and not. that of vendor and vendee, so far as the doctrine of estoppel is concerned. But as the deed was the conveyance of a perpetual right for a solid consideration therein expressed, and there was no covenant for the payment of any rent, nor for the redelivery of possession, we think it should be regarded as creating the relation of grantor and grantee between the parties thereto. We havg. already found . that the title of the company to its right of way upon the location of its route related back to the date of the act, and hence that when it took possession of the land in question plaintiff had no title’ thereto which he could set up against the company. ITad the defendant not accepted the deed from the plaintiff, it might, under our ruling upon the first point, have treated him as a trespasser. The real question then is, whether the defendant is placed in a worse position by having accepted the deed from a party who had no title to the premises he assumed to convey — the defendant having taken the conveyance under a mistaken view of the law applicable to the case.
It is conceded that, as a general principle, the grantee in a deed of conveyance is not estopped to deny the title of his grantor, and unless this case be an exception to this rule, it will necessitate an affirmance of this judgment. The rule was first applied by this court in the case of
Blight’s Lessee
v.
*682
Rochester,
Upon the other hand, there are doubtless some exceptions to the rule arising out of circumstances'which-would render the repudiation of the grantor’s title “ a breach of good faith and common honesty” on the part of the grantee. Thus he cannot refuse to pay the consideration named in his deed, nor probably to perform any other strictly personal covenant, nor, as remarked by the court in
Robertson
v.
Pickrell,
can the grantee, in a contest with another, whilst relying solely upon the title conveyed to him, question its validity when set up by the latter. In other words, he cannot assert that the title obtained from his grantor, or through him, is sufficient for his protection, and not available to his contestant. Where both parties assert title from a common grantor, and no other source, neither can deny that such grantor had a valid title when he executed his conveyance. Thus in
Wilcoxon,
v.
Osborn,
77 Missouri, 621, it was stated that the rule was not applicable to a case where the only title asserted by the grantee was the precise title he had acquired from the grantor, nor to a case where both parties claimed from a common souróe, and the title was identical in-that source. In that case, á county having received the purchase money for a tract of swamp land, caused a deed to be made to the purchaser by the county commissioner. On the same day the county made a loan of school funds, taking as security a mort
*683
gage on the land. Subsequently the county caused the mortgage to be foreclosed. The defendant derived title through this foreclosure. It was held, as against the heirs of the original purchaser, that the defendant was estopped to deny the validity of the comriiissioner’s deed. So, in
Phelan
v. Kelley,
But the consequences of treating this case as an exception to the general rule are somewhat serious. If, as we hold, the defendant had the' prior right to this, land, it Vas under no obligation to treat with .the plaintiff or pay him for the disturbance of his possession, which was unlawful as against the company. Has it by this deed disqualified itself forever from asserting, the right that it would have possessed had it not done this? We think not. Assuming, as some of the cases indicate, that before disputing the title of his grantor the grantee is bound to surrender his possession taken under the deed, such requirement is obviously inapplicable to a case like this, where- the only possession consists in the disturbance of a water- right or ditch claimed by the plaintiff, by the construction of the road across such ditch. It could only be restored by the destruction of the road and the rebuilding of the ditch; in other words, by the surrender of possession under the deed, and a repudiation of the entire transaction, when it is'admitted that the defendant could set up its prior title and proceed against the plaintiff as a trespasser. But
*684
this would be a useless and expensive formality; and we think the rule that forbids a tenant from disputing his landlord’s title without first surrendering his possession has no application to a case like this. It may be said in general that the doctrine of estoppel exists only where there is an obligation to restore the possession of the land, upon certain contingencies, such, for instance, as exist between landlord and tenant, or mortgagor and mortgagee. In such cases the occupant is considered to have pledged his faith to return the possession of the land which he occupies, and will not be permitted to do anything to impair the title of him from whom he has received it. 3 Wash. Real Property, 98;
Gardner
v. Greene, 5 R. I. 104;
Osterhout
v. Shoemaker,
In this case the defendant not only did not agree to resurrender possession to the plaintiff, but it accepted the deed with this covenant-or condition, for which it received no consideration, and we do not consider it a breach of good faith upon the part of the defendant to set up this fact, nor ought it to be put in a worse position by having accepted this deed and paid $250 therefor, than it would have occupied had it l’efused altogether to treat with the plaintiff. The deed was evidently delivered and received by these parties under a misapprehensioxx of their legal rights, axxd it would be manifestly unjust to hold the defendant forever estopped from asserting the invalidity of the covenant into which it had inadvertently entered.
The judgxnent of the court below xnust be
Affirmed.
