Opinion by
Head, J.,From time immemorial the action of ejectment has been the recognized legal remedy for a plaintiff who seeks to enforce a right of possession to real estate where such possession is wrongfully withheld by another. This being true, it should logically follow that, in such action, defense could be made on any ground that would establish in the defendant a right either to the absolute or to a qualified possession as against the right asserted by the plaintiff. Our statute of May 8, 1901, after providing in Section 1 that a single verdict and judgment in an action of ejectment shall be final and conclusive and bar the fight, declares, in Section 2, the plaintiff must file a declaration which shall consist of a concise statement of his cause of action, with an abstract of the title under which he claims. In response thereto the defendant, in addition to the general plea of not guilty, must file an answer, in the nature of a special plea, in which he shall set forth his grounds of defense with an abstract of the title by which he claims; and on the trial no evidence shall be received to establish any matter not appearing in the pleadings. Although a defendant in such an action may have more than one line of defense, the act clearly declares he must set forth his whole defense in his special plea, otherwise he may not avail himself of it at the trial.
After many years of litigation between the parties to this appeal or their predecessors in title, the present plaintiff, in 1910, began an action of ejectment against *269the present defendants for the recovery of the possession of the land in dispute and filed his statement of claim in obedience to the statute. From that statement it appeared that he had a written and recorded title to the ground which he claimed to be his and, as a consequence of the ownership evidenced by that title, his right to the possession of the land necessarily followed. It then became incumbent on the defendants to file their special plea setting forth the grounds on which they claimed the right to retain, in whole or in part, the possession which would otherwise be a legal incident of the plaintiff’s ownership of the soil. In their special plea the defendants did not undertake to deny the written or recorded title exhibited by the plaintiff or that it embraced the property in dispute. They advanced, as their sole ground of defense, that for more than twenty-one years prior to the impetration of the writ they and their predecessors in title had been in open, notorious, exclusive and adverse possession of the premises in dispute; that by reason thereof the- real ownership of the land, had been wrested from the plaintiff or his predecessors and. become vested in them, and, as a consequence, the right of possession accrued to them as a legal incident of their ownership of the fee.
Manifestly the defendants, without denying the plaintiff’s ownership of the soil, could have set up that by reason of a grant from the plaintiff or his predecessor they had acquired a limited estate, for years or otherwise, in .the property owned by plaintiff; or that, by a like grant, either actually made or legally presumed to have been made by reason of the lapse of time, an easement of way had been imposed in favor of the land owned by them upon that owned by the plaintiff, and that, as a consequence, they had a lawful right to such a qualified possession of the latter’s land as was necessary for their reasonable use and enjoyment of such easement. As already indicated, however, they chose to plant their defense solely on the ground that they were the legal *270owners of the soil, such ownership having been acquired in the manner stated. Upon th.e issue thus voluntarily made by the parties the cause came on for trial and resulted in a verdict in favor of the plaintiff upon which judgment was afterwards entered. An appeal wTas taken to this court and on April 23, 1912, an opinion was handed down affirming the judgment of the court below. No appeal having been allowed by the Supreme Court, in due time a writ of habere facias possessionem issued and the sheriff delivered, as he was commanded by his Writ, the possession of the property in dispute to the plaintiff in the action.
Later in the same year the plaintiff filed this bill in which, after averring the facts to which we have referred, he set forth that he had erected a fence on the division line between the two properties and that the defendants had destroyed the same and threatened to continue their possession and use of the plaintiffs property, since the said judgment and writ of execution just as they had done before. He prayed for an injunction restraining them from further entries upon his property and further interference with the same. By way of answer the defendants practically admitted the facts set out in the bill but averred the property owned by them carried, with its ownership, an easement of way upon and over the property of the plaintiff and insisted upon their right, notwithstanding the. verdict and judgment in ejectment, to the continued use of the same. After a full hearing the learned court below - entered a decree denying to the plaintiff any relief and dismissing his bill. The decree, however, went much further, and although no cross-bill had been filed, and although the answer of the defendants only prayed they might be “hence dismissed with our reasonable costs, &c.,” the decree ordered the plaintiff to forever thereafter desist and refrain from interfering with the defendants in their right to use a portion of his premises and to have free access thereto and therefrom. The plaintiff appealed.
*271If lie be right in his contention that defendants are concluded by the judgment in ejectment, or, in other words, that they are estopped by matter of record from urging the facts set up in their answer, it will be unnecessary to consider other questions that have been argued before us. In stating the legal principle upon which we must determine the.correctness of this contention, we may well use the language of Mr. Justice Mestrezat, in Jackson v. Thomson, 215 Pa. 209: “To determine what was adjudicated in the former equity suit between the parties to' that action, it will bunecessary to refer to the pleadings and the decree of the court. ‘As this (former adjudication) is an estoppel by matter of record,’ says Thomson, C. J., in Williams v. Row, 62 Pa. 118, ‘we must look to see what the record says, what it was that the plaintiffs claimed by their bill.’ And in Kelsey v. Murphy, 26 Pa. 78, where a former adjudication was set up as a defense, Woodward, J., delivering the opinion, says: ‘The bill in chancery with which we have to do in this case was between the same parties as the present action. Was it directly upon the same point? Was the present cause of action included, and might it have been recovered in that suit? To determine this, recourse must be had to the pleadings then and now,’ &c.”
As we have already said, the plaintiff sued in ejectment to enforce his right of possession to certain real estate claimed to be owned by him. His declaration averred his ownership in fee and set forth the muniments of title which created and conserved it. The defendants then had their day in court to set up any matter of defense that would answer, completely or partially, the plaintiff’s claim for the entire and exclusive possession of the land in dispute. The defendants were at liberty to deny the title of the plaintiff on which he rested his right of possession and set up ownership in themselves. Or if unable to deny the plaintiff’s title to the soil, they could none the less advance their claim to such limited *272or qualified right of possession thereof as the facts they could prove would warrant. But by force of the statute they were bound to give notice in their special plea of the extent to which they claimed the right of possession and the ground on which their claim rested. From the pleadings therefore* as well as the' nature of the action, it becomes apparent it was competent for the defendants to have pleaded and proven in that suit the very same facts upon which they now rely, and thus there could have been adjudicated, in that action, by a court of competent jurisdiction every matter in dispute between the parties.
The defendants saw fit to make no other defense to the plaintiff’s claim for possession than their alleged ownership of the land itself. Upon that issue, tendered by them, they were defeated. A general verdict for the plaintiff resulted. If the judgment upon that verdict did not secure to the plaintiff the right to the undisturbed possession of his land, which is the practical fruit of its ownership, how did it avail him anything? If the defendants may split up their defense and drive the plaintiff to successive actions of ejectment in each of which they may advance a distinct line of defense, the plaintiff’s remedy is worthless. The record shows that the very same evidence produced in the trial of the ejectment was relied upon at the hearing of the bill in the présent case. It was because of the choice of the line of defense made by the defendants in the ejectment suit this court said in the opinion affirming the judgment in that case, “It is to be remembered that the present parties so made up the issue and tried the case that the sole question for determination was the absolute title to the property in dispute. The record now before us does not require us to determine any question as to the existence of an easement in favor of the defendants’ property over the strip of ground already referred to, nor as to the extent and character of that easement, if one exists, ......Had the defendant, upon the bringing of this. *273action, disclaimed any further interest in the strip of ground in dispute save only the easement claimed by his predecessor in the bill from which we have quoted, the effect of the decree there entered would have been a matter for serious consideration. But when the whole defense in the present case rests upon an'alleged title in fee by the operation of the statute, and when the evidence conclusively shows that the defendant himself has not held adverse possession for twenty-one years and that no such possession was claimed by his predecessor in title, the defense failed and there remained nothing for the learned trial court to do except to direct a verdict in favor of the plaintiff, the undisputed holder of the legal, written, recorded title to the premises”: Shaffer v. Lauria, 50 Pa. Superior Ct. 135.
That the defendants could- have and should have pursued the course just indicated if they intended to make defense on the ground of the existence of an easement seems to us clear. Having, for purposes of their own, declined to advance this limited defense to the plaintiff’s right to recover, we think they have fully had their day in court and cannot now be heard to make the defense they could and should have made before the court and jury. The plaintiff, having established his right at law, was entitled to the protection of the injunctivé decree he prayed for.
The decree of the court below is reversed and set aside, the plaintiff’s bill is reinstated and the record is remitted to the court below with direction to enter an injunctive decree according to the prayer of the plaintiff’s bill.