This is the second appeal in this case. See Denton v. Young, 145 Ark. 147. We refer to that opinion for a statement of the issues set forth in the pleadings. Concluding the opinion in that case, we said: ‘ ‘ Appellees ’ action was for forcible entry and unlawful detainer of the property in controversy. Appellants, in their answer, dispute appellees’ right of possession to said property, and in their cross-complaint allege that they were in the possession, and entitled to the possession thereof, as purchasers at a tax sale for delinquent taxes for the year 1918; that, although appellees had no right to the possession of said lands, they wrongfully dispossessed them through proceedings for forcible entry and unlawful de*540tainer, and, in doing so, damaged their household effects. One wrongfully and unlawfully ousted from the possession of real estate is entitled to have any damages sustained by him assessed by the jury trying the main issue and to a judgment for the amount so assessed. Sec. 3646, Kirby’s Digest. Appellees contend, however, that this statutory right in favor of appellant was swept away by their confession in the judgment rendered in the ejectment suit between the same parties. The judgment relied upon in support of this contention was not introduced in evidence in the instant case and was not, and could not have been, brought into this record by bill of exceptions. It was improperly brought into this transcript by writ of certiorari. Appellants’ motion to strike it from the files is sustained. For the error in sustaining the demurrer to the answer and crossbill of appellants to appellees’ last amended complaint, the judgment is reversed and the cause remanded, with directions to reinstate the answer and cross-complaint and for further proceedings not inconsistent with this opinion.”
Upon remand of the cause the appellee, Jas. R. Young, filed a motion to dismiss the cross-complaint, in which he set up that Ross Denton and Mrs. Ross Denton, the cross-complainants, obtained permission of Jas. R. Young, as administrator of the Harrison estate, to enter upon and take possession of the premises described in their cross-complaint, and thereby became tenants at will of the said Young, but later refused to surrender and vacate the premises when Young demanded them to do so, and wrongfully and unlawfully held the same against said Young, who, as such administrator, on July 17, 1919, instituted a suit in ejectment against these cross-plaintiffs. They attached to their motion a copy of the complaint in ejectment and the answer and cross-complaint of the Dentons thereto, in which they set up that they had the lawful right and legal possession of the premises. The motion then alleged that Young and Niles filed a supplementary or amended complaint, asking for a writ of *541possession, which writ was issued and executed on the 29th of September, 1919. The motion then alleged that the question of whether Mr. and Mrs. Denton were rightfully or wrongfully in possession of the premises, together with other questions, were raised in that suit, and that, upon a final hearing of the same, the circuit court, at its February term, 1920, adjudged that the Dentons were in unlawful possession of the property and rendered against them a judgment of ouster. The motion then, by way of explanation, recites the history of the litigation in the present action of unlawful detainer as is set forth in the statement of facts in our first opinion. (See Denton v. Young, supra). The motion concluded by pleading that the judgment in the ejectment suit was res judicata of the rights of the Dentons in the present suit, and asked that their cross-action be dismissed.
The appellants filed a demurrer to this motion, which was overruled. The appellants then filed an answer in which they denied the allegations of the motion and set up that, while the suit in ejectment instituted by Young and Files against the Dentons on July 17, 1919, was still pending, the present action for unlawful detainer was •instituted and the judgment in the ejectment suit was not rendered until the 24th of February, 1920; that in the meantime the proceedings and judgment in the circuit court in the present action of unlawful detainer and the judgment of this court reversing the judgment of the circuit court operate as a bar to appellees’ motion to dismiss the appellants’ cross-complaint.
The issues presented by the motion and the answer thereto were heard on the records showing the orders made in the respective actions of ejectment and unlawful detainer. The trial court sustained the appellee’s motion to dismiss the cross-complaint in the present action, and entered a judgment dismissing such cross-complaint, from which is this appeal.
The judgment of the trial court is correct. In White River Land & Timber Co. v. Hawkins, 128 Ark. 277, we *542held (quoting syllabus): “Under the statutes, defendant, in an action for unlawful detainer, where his occupancy is without right, cannot recover damages from the true owner. It is only where defendant disputes the right of possession that he can introduce before the jury evidence showing that he has sustained damages by being dispossessed.” It will be observed that this court, on the former appeal, held that the answer and cross-complaint of the Dentons in the present action of unlawful detainer stated a cause of action against the appellees. On the former appeal the judgment in ejectment was not brought into this record. ' On remand of the cause for further proceedings the appellees moved to dismiss the cross-complaint of the appellants in this action. The motion to dismiss set up the judgment in the ejectment suit between these same parties, and, although inartistically drawn, was in legal effect tantamount to a plea of res judicata. On the issues raised by this motion and the answer thereto, the judgment in the ejectment suit was introduced in evidence and is properly brought into the record before us.
The appellants contend that this judgment in ejectment is not a bar to the maintenance by them of the cause of action set up in their answer and cross-complaint, be-' cause the judgment in the ejectment suit was rendered after their cross-complaint in the present action of unlawful detainer was filed. But in Church v. Gallic, 76 Ark. 423, we held: ‘ ‘ The fact that a judgment was obtained after the commencement of the suit in which it is pleaded does not prevent its being a bar. It is the first judgment for the same cause of action that constitutes an effective defense, without regard to the order of time in which the suits were commenced. * * *' * All of the rights and matters asserted in this suit by appellant could have been adjudicated in the ejectment suit, or she could have pleaded the pendency of this suit in bar of appellee’s rigid to maintain that suit. Having failed to do either, she is barred by the final judgment in that case from seeking *543further to adjudicate the question in this case.” The doctrine here announced precludes the appellants from maintaining the action set up in their answer and cross-complaint in this action of unlawful detainer. In this action of unlawful detainer the appellants did not plead the pendency of the suit in ejectment as a bar to this action. The judgment in the ejectment suit settled the issue that the appellants were in possession of the land without right. Hence it now appears that, since this judgment was brought into the record, the appellants had no cause of action against the appellees, because appellants were not in lawful possession of the property and were not unlawfully ousted therefrom. See White River Land & Timber Co. v. Hawkins, supra.
There is no error in the record, and the judgment is therefore affirmed.