Defendant’s assignments of error are based upon its contention that plaintiff, having conveyed the lot of land pendente lite, at the date of the trial, had no title to or estate in the same; that he had no interest therein to which defendant’s claim under the deed, of trust was adverse; and that therefore plaintiff could no longer maintain or prosecute an action to have the deed of trust .declared a cloud upon his title or to have defendant’s claim to the land decreed to be adverse to him. Each of defendant’s exceptions is founded upon the proposition involved in this contention.
Plaintiff contends that at the commencement of the action he was seized in fee and in possession of the land; that defendant’s claim thereto was adverse to him and a cloud upon his title; and that notwithstanding his conveyance of the land pendente lite, it was within the discretion of the court to permit him to continue the prosecution of the action in his own name or to cause his grantee to be substituted as- plaintiff in his stead.
Plaintiff further contends that although he had conveyed the land and no longer had any estate therein or title thereto, he had at the date of the trial by reason of the warranty in his deed to the grantee, such an interest in the title to the land as that he could maintain an action under C. S., 1743 to have the validity of the claim of the defendant under the deed of trust determined.
This action did not abate upon the conveyance by plaintiff of the land owned by him at the date of its commencement. The cause of action survived. It was within the discretion of the court to determine whether the action should be continued in the name of the plaintiff or whether his grantee should be substituted as plaintiff; C. S., 461. This is the law unless the plaintiff no longer was a real party in interest as provided in C. S., 446.
Plaintiff having warranted the title to the land conveyed by him against the claims of all persons whomsoever, had an interest in the *714action which was originally instituted and finally prosecuted to determine whether or not defendant’s claim to the land, asserted in its answer, was valid. The possession of the land is not involved in this action. Its subject-matter is the title and in this plaintiff had an interest, not only at the commencement of the action, but also at its trial. Defendant relies upon Burnett v. Lyman, 141 N. C., 500, to sustain his contention that the action could not be prosecuted by the plaintiff after his conveyance of the land. The plaintiff in that action sought to recover of defendant the possession of the land and at the trial upon its appearing that plaintiff had, pendente lite, conveyed the land and was no longer entitled to possession of the same, this Court held that it was error to disallow defendant’s motion for nonsuit. Clarke, C. J., quotes with approval the language of Burwell, J., in Arrington v. Arrington, 114 N. C., 120, as follows: “In an action to recover land the rule is that the plaintiff must have the right to the possession not only at the institution of the suit, but at the time of the trial also.”
In that action plaintiff was asking judgment that he was the owner and entitled to the possession of the land. Having conveyed the same after the commencement of the action and prior to the trial, he was no longer the owner or entitled to possession and therefore was not the real party in interest. He, therefore, could not maintain an action to have himself adjudged the owner and entitled to the possession of the land. In this action plaintiff seeks no affirmative relief. He is not demanding possession of the land nor are his rights put in issue. He demands judgment that the defendant has no right, title or interest in the land adverse or superior to him. The subject-matter of the action is the title to the land and in this, plaintiff had an interest both at the commencement and at the trial of the action; at the commencement of the action because he was seized-in fee and in possession of the same, claiming an unencumbered title thereto; at the trial because he had warranted the title to his grantee and was liable on his warranty for a defect in the title. He was a real party in interest and as such, could continue to prosecute the. action in his own name as plaintiff, the purpose of the action being to determine the validity of defendant’s claim to an interest or estate in the land.
Defenses both to the jurisdiction of the court and to the merits of plaintiff’s cause of action which would have been available to defendant if this had been a suit in equity to remove cloud upon title, are no longer applicable. This is an action authorized by a statute enacted by the General Assembly at its session in 1893, which with amendments, appears as section 1743 of the Consolidated Statutes of North Carolina. This section as applicable to the instant case is as follows: “An action *715may be brought by any person against another who claims an estate or interest in real property adverse to him for the purpose of determining such adverse claim. If the defendant in such action disclaim in his answer any interest or estate in the property or suffer judgment to be taken against him without answer, the plaintiff cannot recover costs.” This Court has said in Campbell v. Cronly, 150 N. C., 459: “It is well settled that prior to the statute of 1893, the jurisdiction of courts of equity to entertain bills to remove cloud from title or to quiet title was restricted within well defined limits. The Legislature in the session of 1893 enacted a statute for the purpose of enlarging the power of the courts to entertain suits to quiet titles where the conditions were such that a possessory action could not be brought.”
In Rumbo v. Mfg. Co., 129 N. C., 10, Clark, C. J., says: “It was because the General Assembly thought the equitable doctrines (as laid down in Busbee v. Macy, 85 N. C., 329, and Busbee v. Lewis, ibid., 332, and like cases) inconvenient or unjust that the act of 1893 was passed.”
Walker, J., in Christian v. Hilliard, 167 N. C., 4, speaking of this statute, says: “The beneficial purpose of this statute is to free the land of the cloud resting upon it and make its title clear and indisputable so that it may enter the channels of commerce and trade unfettered and without the handicap of suspicion.”
The contention that a plaintiff in an action brought under this statute must allege and prove that at the commencement of the action and at its trial he had an estate- in or title to the land, cannot be sustained. It is only required by the statute that he have such an interest in the land as that the claim of the defendant is adverse to him. The language of the statute is broad and liberal, showing the purpose of the General Assembly to permit any person to bring an action against another who claims an interest or estate in real property adverse to him. The defendant is fully protected by the provision in the statute that if he disclaim in his answer any interest or estate in the property or if he suffer judgment to be taken against him without answer, the plaintiff cannot recover costs. If the defendant claims no interest or estate in real property as alleged by the plaintiff, or if he does claim such interest and his claim is well founded, no costs can be adjudged against him.
In this action the defendant filed an answer asserting an estate or interest in the land adverse to the plaintiff. Upon the trial plaintiff offered evidence amply sufficient to establish the truth of his allegations. The defendant at no time renounced or disclaimed an interest or estate in the land. The claim of defendant was adverse to plaintiff, who was, therefore, entitled to the benefits of C. S., 1743, a highly remedial *716statute; Satterwhite v. Gallagher, 173 N. C., 525; Nobles v. Nobles, 177 N. C., 243; Clemmons v. Jackson, 183 N. C., 382.
There was no error in refusing defendant’s motion to dismiss the action or to nonsuit the plaintiff, or in giving the instructions to the jury as set out in the case on appeal.
No error.