The defendant contends that the proceedings |>efore the Justice, being upon a matter beyond his jurisdiction, are nullities, and |are as absolutely void as if they had mot been had.
"We agree that the defendant may treat them so, but it does *435not follow that the plaintiff wbo initiated and has taken the benefit of them can. He cannot take advantage of his own wrong. If the rule were absolute as contended for, no appeal could be had from the Justice’s judgment,and the Superior Court should have dismissed the defendant’s appeal at his costs. The defendant has been deprived of the possession of his'land by color of judicial proceedings, and we think on general principles the Superior Court has the right, which it would have been an injustice not to have exercised, to give him restitution. In addition, this duty is expressly prescribed by see. 27 of the Landlord and Tenant, Act 1868-89, ch. 156, p. 355.
We think that the defendant was entitled not only to restitution of the possession, but if he had asked for it, to an inquiry as to the damages he had sustained by being deprived of it. We find this decided upon the reversal of a judgment for error in Sympson v. Juxon, Cro. James 698. Sec. 30 of the Landlord and Tenant Act, gives a defendant damages if he nas been turned out of possession by a proceeding which is quashed ; and there can be no reason why he should be put to a separate action to recover them.
There is no error.
Pee Cujriah. Judgment affirmed.