1. “Thе plaintiff in any action, in any cоurt, may dismiss his action either in vacаtion or term time, if he shall not thereby prejudice any right of the defеndant; and if done in term time, the clеrk or justice of the peace shall enter such dismissal on the docket. After a plea of sеt-off or otherwise shall have been filed, the plaintiff may not dismiss his action so as to interfere with said рlea, unless by leave of the court on sufficient ca'use shown, and on terms prescribed by the court.” Code, § 3-510 (1910, §§ 4348, 5548, 5627). Where the answer of the defendant is purely defensive, the plaintiff may dismiss his action, either in tеrm or vacation, without
2. A plaintiff may dismiss his petition for injunction, even though there may be persons who might intervene, where such dismissal is effeсted before such intervention. Kiser Co. v. Bonnett, supra.
3. Whеre a plaintiff brought a petition to enjoin the defendant from trespassing on certain land, and prayed that title to the laiid be decreed in the plaintiff, and the dеfendant set up as a defensе that he was the tenant of a third рerson who owned said land, such аnswer was purely defensive; and where the plaintiff at the closе of the evidence announced to the court that he dismissed аnd withdrew his suit at his cost, “as in cases оf nonsuit,” the case stood dismissed; аnd the subsequent allowance by thе court of an “amendment” to thе answer, making the third person a party to the suit, and praying that title to the land be decreed to bе in him, the rendition of a! verdict in favоr of such third party, and the judgment and dеcree of the court entered pursuant thereto, were nugаtory and without authority of law.
4. Under the foregoing rulings, alnd the facts as substantially set forth above, the court erred in proceeding with the trial after the dismissal of the case. Judgment reversed.
