There are two assignments of error. One excepts to the overruling of a general demurrer to the petition.
*628
The suit was a complaint for land. It contains an allegation that petitioner is the owner of and claims title to a described tract of land, and elsewhere an allegation that “petitioner shows that he has a good and perfect title to said lands,” of which it is alleged that the defendants are in possession. The fifth paragraph of the petition was as follows: “Petitioner claims title to all that portion of said Southern right of way now in possession of said T. L. Byrd and Carroll Williams by virtue of a judgment rendered by this court on the 24th day of August, 1940, which was as follows, after stating the case of T. L. Byrd versus I. M. Goodman, being a'suit to recover the land herein, a demurrer having been filed thereto: ‘Upon consideration of the demurrer filed by I. M. Goodman in the above-stated case, and after hearing arguments by briefs thereon, it is considered, ordered, and adjudged that the demurrer of the defendant be and the same is hereby sustained, and it is ordered that judgment be entered upon the records in said case, and said suit is hereby dismissed, with cost against plaintiff.’ Petitioner shows the judgment rendered in his favor hereon pertains to the same lands now sought to be recovered.” This was the equivalent of declaring that his title is as defined in the quoted portion of his petition, and falls under the principle ruled in
Dugas
v. Hammond, 130
Ga.
87 (
Subsequently the plaintiff amended his petition. A general demurrer to the amended petition was overruled, and error is assigned on this ruling. The amendment added at the end of paragraph 5 of the petition, which is set forth above, a statement that defendant Byrd brought petition against him, praying that the title to the land in question, formerly, known as the Southern Railway right of way, be decreed in him (Byrd), and that plaintiff (Goodman) deliver up for cancellation the deeds and conveyances made to him by the heirs of J. M. Spurlin and by the Southern Railway; that a general demurrer to that petition as amended *629 was filed, and upon hearing said demurrer the court dismissed the amended petition. The exhibits there referred to showed a petition by Byrd against Goodman, alleging that Byrd is in possession of certain described land, setting forth his muniments of title; that Goodman is claiming a large portion thereof, embodying the basis of his claim of title; that defendant is undertaking to interfere with plaintiff’s possession, and that defendant is trespassing thereon, has forbidden plaintiff to go thereon, and depriving plaintiff of the use and occupancy of said land. The prayers were for injunction, and that the deed of defendant be canceled. The plaintiff in that suit amended his petition by alleging other facts tending to show that the defendant therein had no valid title, and among the prayers to this amendment were that the title to the land be decreed in plaintiff. The amended petition in the first suit was demurred to on six different grounds, among them, that no cause of action was set forth. It was not demurred to on the ground that the plaintiff showed no title. The judge passed an order adjudging that “the demurrer of the defendant be and the same is hereby sustained,” and dismissing the suit. The question here presented is whether, with the record of the former suit shown in the amendment to the petition, the judge erred in refusing to sustain the general demurrer.
If the judgment on the demurrer in the first suit had the effect of adjudicating that the title to this land was not in Byrd, then the general demurrer to the amended petition in the instant case was properly overruled; otherwise not.
We take no issue with the contention that, the trial court having sustained the demurrer and dismissed the petition, there is no presumption that the ruling was based on any particular ground of the demurrer, but the judgment will be treated as sustaining the entire demurrer upon all of its grounds.
Hadden
v. Fuqua, 194
Ga.
621, 632 (
The court may well have concluded that, taking its averments as a whole, the petition did not show that the plaintiff was in possession, and that as to injunctive relief the petition stated no cause of action, because the injunction would have been mandatory.
Braswell
v.
Palmer,
191
Ga.
262 (
For the same lack of averment as to possession in himself, construing the petition most strongly against the pleader, the court may have concluded that no cause of action was set forth as to removal of the cloud.
Lightner
v.
Belk,
178
Ga.
766 (
There is another reason that restrains us from giving the decision on the demurrer the effect claimed for it by counsel for defendant in error. If, as indicated above, there be correct bases on which the decision on demurrer may rest, it will not be assumed that the trial judge passed these by and placed his ruling on an unsound one. The settled doctrine in the construction of a statute is to give it, if possible, a rendering which will make it valid rather than invalid.
Head
v.
Cigarette Sales Co.,
188
Ga.
452 (
The deed from J. M. Spurlin to the Atlanta & Hawkinsville Bailroad Company, a copy of which was attached to Goodman’s suit, conveyed only a right of way or an easement, which terminated by abandonment or nonuse when the successor railroad company ceased to use the land for railroad purposes. Such is the only reasonable interpretation of the instrument under consideration. It is similar in language and effect to the deeds considered in
Louisville & Nashville Railroad Co.
v.
Maxey,
139
Ga.
541 (
Since the deed conveyed only an easement, the fee-simple title remained in the grantor and was subject to sale or other disposition by him at any time. He conveyed the property to his wife on condition that it would revert to his estate on her remarriage, and she did remarry in 1920, after his death in 1919. The fee-simple title which remained in him after executing the deed to the railroad, and the remainder or reversionary interest which existed after executing the deeds to his wife, both constituted an interest which the grantor, J. M. Spnrlin, could dispose of by will if he 'elected to do so, being the whole title or interest less the easement granted to the railroad company, and the estate for life or widowhood granted to Mrs. Spurlin.
Cooper
v.
Davis,
174
Ga.
670 (
What has just been said demonstrates that Goodman’s assertion contained in the third paragraph of the amendment to his petition in the instant case, to wit, "Petitioner shows his title arising from the Southern B. R. and from the heirs at law of Jasper M. Spurlin, the common grantor, as appears in this record, is superior to the claim of the defendant herein,” should also have been stricken on general demurrer. Goodman’s insistence that the former judgment adjudicated that the title to this land was not in Byrd can not be sustained. Our conclusion is that the court erred in not sustaining the general demurrer.
Judgment reversed.
