The second and third answers of the defendant justify all the acts of which the plaintiff complains, on the ground that the locus in quo was, at the time the acts were committed, a highway used by the public, and belonging to the town, or the plank road company.
The justice must have so understood these answers. He did not understand that there were any alleged trespasses not met by these answers, and which remained for trial under the issue found by the general denial. The defendant tendered the undertaking required by law, and demanded judgment for costs of suit. The justice was right in dismissing the action.
It is now claimed by the defendant that the complaint embraced different causes of action; that is, causes of action for the alleged trespasses upon the lands included *448in the highway, and also causes óf action for the trespasses committed upon the lands of the plaintiff, outside of the bounds of the highway, and that the defendant intended only to justify his acts- in the highway, and that his answers should be so construed. This claim is unfounded. The plaintiff', in his complaint, says nothing of any highway. He alleges that the defendant wrongfully broke and entered his close, in the town of Gerry, and at the times named, and then and there did certain.acts. He ignores any highway. If he should be right in hisi position that there was no highway, then it would be immaterial whether the trespasses committed were confined to a strip of land four rods in width, or extended over a wider space. The defendant begins his answer by admitting that he had been upon the ground in and along a certain locality in said town, known as the “plank road,” and had done certain acts “which are the acts claimed in said complaint,” and that said locality was a public highway, &c. &c.,_ and that at such times of said alleged wrongs and acts upon, in and on said locality and premises, he was acting pursuant to the directions of the commissioners and overseers of highways of the town, as he of right might do. It is not necessary to refer, more particularly, to the next answer. It is equally definite, and extends to all the acts complained of by the plaintiff. On the trial the defendant succeeded in justifying all his acts upon a certain strip of land, by showing that it was a highway; but he had trespassed outside of this strip of land, and for these trespasses he had no justification, and three dollars damages were allowed. Which of the parties is entitled to costs ? “ If the judgment in the Supreme Court be for the plaintiff, he shall recover costs; if it be for the defendant, he shall recover costs, except that upon a verdict he shall pay costs to the plaintiff, unless the judge certify that the title to real property came in question on the trial.” (Code, § 61.)
*449In this case the judgment is for the plaintiff, and he is entitled to costs. The word judgment, as here used, means a recovery of damages by the plaintiff!, evidenced by the verdict or the finding and decision of the court, entitling the plaintiff to a judgment. The right to costs is to be determined by the recovery, confining the parties to the issue touching title.
In Burhans v. Tibbits, (7 How. Pr. 74,) Justice Wright says, “that when the section speaks of a recovery in an action where a claim of title arises, it means that such claim of title shall arise on the entire pleadings, and that ■ the recovery shall be in hostility to such claim.”
In the present case the recovery by the plaintiff is in hostility to the claim of title set up by the defendant, as the defendant’s claim of title was not limited to any particular piece of land, but was coextensive with the alleged trespasses.
Hall v. Hodskins (30 How. Pr. 15) is in point in this case. In that case the action was trespass for breaking and entering the close of the plaintiff, and the defendant answered that the acts complained of were done in and on a certain road which he had a right to use. On the trial, the defendant gave evidence tending to establish a road across the plaintiff’s close, and the plaintiff abandoned any claim for damages for acts committed on the alleged road, but claimed damages for the trespasses outside of the road, and he had a verdict for $1.56. At special term it was decided that the defendant was entitled to costs. Upon appeal to the general term .the order of the special term was reversed, and costs were given to the plaintiff. The case contains the arguments of counsel, which are very able and elaborate. The opinion of the court is by Bockes, J. In it the learned judge fully considers and ably discusses the questions presented in that case, and they are the same as those now under consideration in the present case; and concurring in the views taken by the *450■ court- in that case, I do not think it material that I should add any further remarks. It may be well. to reiterate what is said in the opinion in that case, that if the defendant wishes to justify certain of the alleged trespasses, under a right of way, he should describe the way, and limit his justification to the locus in quo particularly described. The pleadings, now, in a justice’s court, are complaint, answer and demurrer, and no others are allowed. The issue or issues must be framed before the justice. In the present case the defendant should, in his answer, have carefully described the highway, and limited his justification to the premises so described; and then as to all alleged trespasses other than those within the limits described, he could have interposed a denial, .or license, or any defense he had, other than title. The justice, upon the giving of the undertaking, would dismiss the action as to the alleged trespasses upon the close embraced by the answer setting up title, and would proceed to the trial of the issues touching the alleged trespasses not justified by the plea of title, in case the plaintiff should decide to proceed in his action for such trespasses. If the plaintiff should not claim that any trespasses were committed outside of the locus particularly described by the defendant, then the action would be dismissed generally; and I think the plaintiff, in his action in this court, would be confined to the close particularly described by the defendant, and in which the answer and defense of title applied. In this way no difficulty can arise. The defendant must see to it that his answer in the justice’s court is not too broad.
The exception contained in section 61, to wit, “ that upon a verdict he (the defendant) shall pay costs to the plaintiff, unless -the judge certify that the - title to real property came in question on the trial,” has no application to the present case. This embraces costs when the defendant has a verdict. He may have defeated the plaintiff upon grounds entirely aside from any question of “title *451to real property,” and such title may not have come in question on the trial; and if so he shall not have costs, but shall pay costs, because he, by pleading title in the justice’s court, caused the litigation to be removed into the Supreme Court. This was not a case for the certificate of the judge, and the certificate given has no effect upon the question of costs.
[Chautauqua Special Term, January 13, 1868.The plaintiff’s motion must be granted, with $10 costs.
Marvin, Justice.]