In January, 1873, Mrs. Lyford, wife of the plaintiff, owned, as her separate property, a tract of land in Marin County, known as Strawberry Point. At that time, plaintiff and his wife contracted with the defendant to convey to it a right of way for its railway along a designated line, in consideration of one dollar and the mutual covenants contained in said contract.
Several covenants were contained in the contract, to be performed by defendant.
It would build its road within two years, and thereafter maintain and run regular daily passenger and freight trains to and from San Francisco to San Rafael; maintain a depot at a point designated; erect and maintain' five passage-ways for cattle, four under the track and one by a bridge over it; and carry at all times upon its *95regular passenger trains and ferries, to and from San Francisco, said Lyford, his wife and children, free from charge, during the lifetime of said Lyford and wife, or either of them.
The railroad was built, and run as agreed until February 19,1884, when the defendant ceased to use the right of way, took up the rails, and removed its road some distance from plaintiff’s land; and since has declined to carry plaintiff or his family free of charge, and has finally and wholly abandoned the road along the right of way over plaintiff’s land.
Plaintiff claims that his land was suitable for suburban residence, and by the road was made accessible to San Francisco, and therefore valuable, but by the discontinuance of the road was rendered inaccessible and was greatly damaged; and he avers that the sole consideration for the grant of the right of way was the personal advantage to himself and wife, and that the road would enhance the value of the land.
In the answer, the point is specially made that Mrs. Lyford was a necessary party, and should have been joined as plaintiff.
On the trial, plaintiff did not show an express assignment to himself from Mrs. Lyford of her interest in the contract, but he proved that on July 31, 1879, she conveyed the land to John J. Reed, who conveyed the same to plaintiff August 6, 1879. In each of these deeds was inserted this provision: " Together with all and singular the tenements, hereditaments, and appurtenances thereunto belonging, or in any wise appertaining, rents, issues, and profits thereof, and also all the estate, right, title, interest, property, possession, claim, and demand whatsoever, as well in law as in equity, of the said Hilarita Reed de Lyford.”
It is obvious that the agreement to continue to operate the railway is not a covenant which, under the code, would run with the land. It is not a covenant for the direct benefit of the property, i. e., the estate granted, as required by section 1462 of the Civil Code.
*96The best that could be said would be that, like the agreement to maintain the cattle-ways, it was a condition in the grant of the easement. But the theory of plaintiff’s case is, that the easement has been abandoned.
We think the covenant to continue to operate the road was a personal covenant, and plaintiff, not being the assignee of Mrs. Lyford, cannot maintain this action alone.
We therefore think the judgment should be affirmed.
Foote, C., and Vanclief, C., concurred.
The Court.For the reasons given in the foregoing opinion, the judgment is affirmed.