The action was against the sureties on the undertaking of the plaintiff in an action of replevin brought by one A. Frank Weppner against the plaintiff in this action, in the municipal court of Rochester, to recover four tierces of lard. The complaint in that action alleged ownership of the property in the plaintiff, possession by the defendant, demand for and refusal to deliver the same, and that the defendant had wrongfully converted the same to his own use, and contained the usual demand for judgment. The plaintiff also duly procured the requisition of the municipal court, and caused the property to be replevied and delivered to him. The affidavit upon which the requisition was issued stated the alleged cause of the detention of the property by the defendant to be that he claimed to hold it as the assignee of one Murdoff, The defendant did not require the return of the property to him. His answer, which was verified by himself, denied the complaint “in each and every particular;” alleged that the property was in the custody of the sheriff of Monroe county by virtue of the levy of an execution; “that the sheriff of the county of Monroe should be the party defendant in this action in the place of this defendant; that all rights or claim of this defendant, as. the assignee of the A. F. Murdoff mentioned in the complaint, are subject to the levy of the said sheriff; ' * * * and this defendant ought not to be sued on account of any allegations set forth in the complaint. ” The answer made no allegation of ownership or right of possession of the property in the defendant, and by its general denial denied that it was in his possession, and it asked for a dismissal of the complaint, but did not demand judgment for the return of the property to him. Such being the state of the pleadings and of the proceedings in the action of replevin, the plaintiff therein, on the adjourned day, went into court, and withdrew or discontinued the action, “by reason,” as the referee finds, “of the allegation in said answer of said Bown alleging a valid levy by the sheriff upon said lard, and believing that he had brought said action against the wrong party;” and the court thereupon entered a judgment of dismissal of the complaint.
We are of the opinion that, upon these facts, this action ought not to have been maintained against the defendants. They were sureties merely, and were bound only according to the terms of their undertaking, viz., for the prosecution of the action, and for'the return of the property to the defendant in case the possession thereof should be adjudged to him, or in case the action should abate or be discontinued before the property should be so returned. The action was prosecuted to final judgment, and that judgment was in favor of the defendant for the only relief to which, under his answer, he was entitled. He could not have judgment awarding possession of the property to *194him, because he had not demanded such judgment by his answer; and this not merely upon the general principle that a man will not be granted judgment for more than he asks, but because, by the statute, such a demand in the answer in a case like this is necessary to give jurisdiction to the justice to render such a judgment. Code Civil Proc. §§ 1730, 2930, 2931. The suggestion that the defendant might, perhaps, in the further progress of the action, have obtained leave to amend his answer in this respect, does not meet the difficulty. The liability of these sureties must be determined upon the case as it actually stood, and not as it might have been made, and no presumption will be entertained that the defendant would have asked leave to interpose the demand in question if the action had not been discontinued. The relief actually demanded by the answer was in accordance with the whole tenor of that pleading, which, in effect, disclaimed any right in the defendant to the possession of the property. The reference in the prescribed alternative condition of the undertaking, to an abatement or discontinuance of the action before the return of the property, is, of course, to such a determination of the action before a return of the property in response either to the requirement of the defendant pending the action, (Code, § 2925,) or in pursuance of a judgment which awards the possession to him. In this case the defendant had not made such requirement pending the action, nor by his answer entitled himself to such a judgment. Upon the case presented here; we are of opinion that no breach of the conditions of the undertaking of the sureties, defendants in this action, has been established, and that the motion for a nonsuit should have been granted. The judgment must be reversed, and a new trial granted.
Judgment appealed from reversed, and a new trial granted, with costs to abide the event.'
Lewis, J., concurs.