This is an appeal from the order sustaining a demurrer by plaintiff to one of the separate defenses set up in the answer of the defendant. The action was for the recovery of damages for personal injuries sustained by the plaintiff upon the defendant’s road, caused by 'am obstruction which was permitted to remain there by the defendant. After stating that the defendant was a turnpike corporation organized under a special act of the legislature of the state, and that the road was a public highway, and that it was the duty of the defendant to keep and maintain the same reasonably free from obstructions, the complainant proceeds to allege that while she was walking upon the road or highway of the defendant, opposite and near the premises of one. Daniel A. Shaffer, in the village of Montgomery, in the county of Orange, she fell over a log of wood lying upon a stone wall built upon such highway, bounding an area or passageway over the highway to the basement of the bam or stable upon the promises of Shaffer, which log, stone wall, and area or passageway were carelessly and negligently allowed and permitted by the defendant to be open, and to obstruct defendant’s said highway, in consequence of which negligent act of the defendant the plaintiff was precipitated over the said log, and into the said area or passageway upon the defendant’s road, and sustained the injuries complained of in the complaint. In the answer to the complaint the defendant sets up a separate defense, in the following words;
“For a further answer and defense the defendant states that the alleged obstructions over which the plaintiff alleges that she tripped and fell were placed and maintained where they were by one Daniel H. Shaffer, and, if the plaintiff should recover damages against these defendants in this action, they would have a right of recovery over against said Shaffer for the same, if such right of recovery had not been destroyed by the judgment in the action hereafter mentioned; but the plaintiff cannot maintain the present action, because on March 22, 1892, she brought her action in this court against said Daniel A. Shaffer to recover her damages sustained by means of the same identical injuries alleged in t^e complaint in this action.’- Said Shaffer put in his answer to said complaint, alleging, among other things, that such injuries were caused by the contributory negligence of the plaintiff. Said action was duly tried, and decided on its merits in favor of the defendant, and judgment in said action was duly entered in the Orange county clerk’s office, November 21, 1892, in favor of defendant Shaffer, against the plaintiff; and this defendant claims and insists that such judgment is a bar to the*605 present action, because it is an adjudication against the plaintiff’s right to recover for said alleged injuries, and also because it deprives these defendants of the right of recovery over against said Shaffer.”
The defendant therefore claims that the complaint in this action be dismissed, with costs.
To this portion of the answer of the defendant the plaintiff interposed a demurrer, which was tried at special term, and sustained, and the defendant has appealed to this court.
The statement in the answer shows that Shaffer was the wrongdoer, and that his act was the cause of the injury sustained by the plaintiff. So it seems to follow that, if Shaffer was not liable for creating and maintaining the obstruction, the defendant cannot be liable for the failure to remove it. If Shaffer was not liable, because the plaintiff’s own negligence produced the injuries of which she complains, the defendant is not liable, for the same reason. Shaffer and the defendant were not joint wrongdoers, and the rule that one wrongdoer cannot recover against or compel contribution by another does not apply. The relation between Shaffer and the defendant was analogous to that of principal and agent, or principal and surety, or master and servant; and the rule in such cases is that a judgment in favor of the principal or the surety, upon a ground equally applicable to both, should be accepted as conclusive against the plaintiff ’s right of action. Herm. Estop. p. 169; Castle v. Noyes,
