delivered the opinion of the court.
The stipulations in the contract made between the appellant •and Jeffries & Co., in June, 1893, are decisive of this controversy. That contract is as follows:
“Made this first day of June A. D., 1893, between Jeffries and Company, of Attala county, Mississippi, party of the first part, and the Illinois Central Railroad Company, party of the second part. Whereas, party of the first part is engaged in business at Kosciusko in the state of Mississippi, and, in order to facilitate the carrying on of said business, is desirous of .having a spur or side track constructed, connected with the railway of the party of the second part, and extended thence to the premises occupied by the party of the first part at Kosciusko, aforesaid, as shown upon the plat hereto annexed, it is now mutually agreed as follows: '
“First. The party of the first part hereby agrees to furnish, free of cost to the party of the second part, the necessary ground for the construction, use and maintenance of the said spur, or side track, so far as the same shall extend beyond the right of way and ground of the party of the second part, and give the said party of the second part secure and exclusive possession thereof, and maintain the said party of the second part in such possession so long as this agreement shall continue in force.
“Second. The party of the first part further agrees, at their own cost and expense, to do all the grading and furnish all the crossties and switch ties needed for the construction of the said spur or side track, and to renew the same when required, and to keep and maintain the said track in good order and condition, after it shall have been laid, so long as the same shall be used *111for the benefit or accomodation of the party of the first part, and for one month after written notice shall have been given by the party of the first part, to the party of the second part, of their desire to relinquish the use of said track. All work and materials done or furnished by the said party of the first part to- be ¡subject to the approval of the party of the second part.
“Third. Upon the completion of the grading to the satisfaction of the party of the second part, and the delivery of the ties upon the ground, of such size, shape and kind as the party of the second part shall direct, the party of the second part agrees to lay the side track and furnish rails, switches, frogs, spikes, •and joint fastenings needed for the same. Upon which line the first party shall ship one car per year for each lineal foot of track -constructed, failing to do, the party of the first part shall pay ■sis per cent, interest on the cost of the material furnished by said party of the second part. The party of the first part shall also keep lighted the switch light on said switch or switches. The -party of the second part shall furnish the lamp, oil, wick, etc., necessary to do so.
“Fourth. The party of the first part hereby agree to pay for all damage, loss or injury whatsoever which shall be caused in whole or in part by the switch or switches to said spur or side track being left open or not set securely to the main track and locked, or that may in whole or in part arise from or be chargeable to any want of care or negligence on the part of the party of the first part in keeping the said track in perfect condition, or which shall arise from allowing any car on the said spur or side track to stand too near to any other railway track of the said party of the second part, and in case of suit brought against the party of the second part to recover for any such damage, loss or injury, the said party of the first part, further agrees to pay all attorney’s fees and costs that may be incurred in de-; ■fending such suit by the party of the second part, as well as all •damages that may be recovered therein.
“Fifth. The party of the first part hereby agrees to protect *112the said party of the second part and save it harmless from ail liability for damage by fire, which, in the nse of the said spur or side track or any operation of the railroad of the party of' the second part, or from cars or engines lawfully on its track or tracks, may accidentally or negligently be communicated to-any property or structure of the said party of the first part.
“Sixth. The party of the second part shall have the right at any time in its discretion to abandon the use of the said spur or side track, and to take up and-remove the rails, switches, frogs, spikes, rail fastenings and other materials furnished by it from the premises occupied by said track, provided, however, that a written notice of its intention to remove the said track shall be-given to the party of the first part thirty days before the removal of the same shall be commenced.
“Seventh. This contract shall be binding on the heirs, executors, administrators and assigns of the said party of the first part, and on the successors and assigns of the said party of the second part. In witness whereof, the said parties have hereunto-set their hands the day and year above written.”
It will be seen from the mere reading of this contract that it provides for no mere license. It is a contract made upon a valuable consideration binding the respective parties to the discharge of certain respective obligations. One of the principle stipulations is that in ease either party desire the discontinuance-of the spur track he should give the other thirty days’ written notice to that effect. The last clause in the contract expressly recites that the contract shall be binding on the heirs, executors, administrators, and assigns of the party of the first part, and on the successors and assigns of the railroad company. This contract was never recorded. This property was sold by Jeffries & Co., and has passed through several mesne conveyances into the hands of the present appellee. The evidence shows, overwhelmingly, that each, of the successive assignees from Jeffries & Co. until the present appellee took possession, operated the mill— saw, grist, and planing mill — and that the railroad company, in *113accordance with, the terms of this contract, used the said spur track, through all these years and under all these successive vendees, precisely as it did when Jeffries & Co. owned the property. This is too clear for any disputation. The railroad company, acting under the terms of this written contract, has. gone on through all these years from 1893 down to the time of the occurrence which gave rise to this suit, using the sppr track in all respects precisely as it did when Jeffries & Co. owned the property.
There seems to have been a good deal of confusion in the conduct of this cause in the court below, and indeed, misconception as to the point on which the case should have turned. The learned court below, for example, charged the jury, in several instructions for the plaintiff, to the effect that “a mere license to use another’s land may be revoked at any time by the licensor, and is revoked by a sale of the real property involved.” This principle was repeated several times in the instructions given for the plaintiff. It must be too obvious for comment that this contract is not a “mere license.” It is a contract bottomed on a valuable consideration, most carefully drawn, and conferring substantial rights and imposing definite obligations, which rights and which obligations have to be exercised and met according to the terms of the contract.
Then, again, it seems to have been thought in the court below that the case was to be fought out upon the theory of adverse-possession for more than ten years of the property in controversy. This, of course, was a misconception. All that is involved in this case under this contract is the right of the railroad company to use this spur track, as stipulated in the contract, until such use shall be terminated by thirty days’ written notice given by Jeffries & Co., or any of its assigns. Appellee here was bound by the stipulations of this contract. He is an assignee, a vendee, in the same chain of title, and bound by all the recitations in this contract.
The chief defenses, practically, are the mistaken one as to *114the right of the railroad company, to the use of this spur being merely a license; second, that the appellee never had any notice actual or constructive, of this contract; and, third, that if the railroad company ever had the right to insist on the thirty days’ written notice, it has waived it by its course of conduct in dealing with the spur track under the ownership of the successive vendees. The appellee, of course, had no constructive notice, since the contract was not recorded, but he knew the spur track was there- — over the ground that he bought; he knew it was being constantly used by the railroad company; and he was, of course, put, by this actual knowledge of the possession of the spur track and the use of the spur track by the railroad company, on inquiry as to what the rights of the railroad company were, and that inquiry would speedily have put him in possession of the terms of this written contract. He was bound, under the circumstances, to have made this inquiry, and was chargeable with knowledge of the terms of the contract which that inquiry would have disclosed.
As to waiver, there is no evidence to support such a contention. On the contrary, the overwhelming weight of the evidence clearly shows, as stated in the outset of this opinion, that the use of this spur track by the railroad company has been continuous from 1893 until this occurrence, and that such use has been exactly the same in all respects as it was when Jeffries & Co. owned the property. Hnder these circumstances this suit .-cannot be maintained, for the reason that the appellee did not give the appellant the thirty days’ written notice required by .the contract.
The judgment is reversed, and the suit dismissed.
Reversed.