Opinion by
Rice, P. J.,This was an action of assumpsit upon a constable’s official bond. The breach alleged was that an execution having heen placed in his hands by virtue of which he had made a levy upon goods of the debtor which would have sold for more than enough to satisfy the execution: he neglected and refused to sell them but falsely made return “no goods found subject to levy and sale.” The action was in substance, as well as in form, ex contractu, and by the express terms of the act of 1887 the plaintiff’s statement in such a case “ shall be replied to by affidavit.” There is nothing in the objection, that an action upon a bond conditioned for the performance of collateral acts or official duties, is not within the affidavit of defense law. If the statement contains all the ingredients of a complete cause of action, averred in clear and unequivocal language, and the damages are specifically set out, so that, upon a judgment by default, they may be liquidated with certainty, an affidavit must be filed to prevent judgment. See Byrne v. Hayden, 124 Pa. 170. The principle upon which Osborn v. First Nat. Bank, 154 Pa. 134 was decided has no application to a case like the present, and the other eases cited by the defendant’s counsel were decided prior to the act of 1887, which, as was said in Byrne v. Hayden, was intended to have a wider scope than the old affidavit of defense law.
It was not error to permit the plaintiff to withdraw his original statement and to file another, averring the elements of his damages with greater particularity, and verified by affidavit as the rules of court required. No new cause of action was introduced. It was, in effect, a proper exercise of the power to permit amendments: Kay v. Fredrigal, 3 Pa. 221. Nor was there error in granting a second rule for judgment after the defects in the original statement had been cured by amendment: Wetherill v. Stillman, 65 Pa. 105.
The act of March 21,1772,1 Sm. L. 365, declares: “No action shall be brought against any constable .... for anything done in obedience to any warrant under the hand and seal of any justice of the peace, until demand hath been made, .... in writing, signed by the party demanding the same, of the perusal and copy of such warrant duly certified under his hand, and the same hath been neglected for the space of six days after such *277demand.” The purpose of this provision becomes plain when we look at the context. It was to protect constables in acts done in obedience to writs placed in their hands, notwithstanding a defect of jurisdiction in the justice or justices issuing them, and to inform the party aggrieved by such acts where to place the responsibility. The design of the section was to make the justice exclusively answerable for his own defaults. Where a constable has pursued his warrant, he can be affected with want of jurisdiction in the magistrate, only where he is sued alone, having, after a proper demand, refused for the space of six days to furnish a copy of the warrant: Jones v. Hughes, 5 S. & R. 299, 303; Barr v. Boyles, 96 Pa. 31, and cases there cited. If, however, the constable acted not in obedience to his warrant but in open contempt of it, of course he could not plead the warrant as a justification, and such a case is not within the letter or the spirit of the statute. This was exi pressly decided in Lantz v. Lutz, 8 Pa. 405, where the action was for an escape; and although it has been held since, that the action cannot be maintained by the prosecutrix in a criminal case and to that extent the case has been overruled (Downing v. Com., 21 Pa. 215) the principle for which we cite the case as authority has not been questioned in any later decision which has come to our notice. It is supported by the English decisions upon a precisely similar statute collected by Judge Lewis in Mollison v. Bowman, 3 Clark, 281. The case of Com. v. Warfel, 157 Pa. 444, is not an authority to the contrary. There the constable had in his hands an execution issued by competent authority commanding him to do just what was done. If proper demand had been made and complied with, the plaintiff would have seen that no action could be maintained against the constable, because he was protected by his writ in levying upon and selling the debtor’s goods. Here the constable refused to obey the command of his writ, and for that he was exclusively liable. Undoubtedly, as the Chief Justice says, the demand must be made in all cases within the purview of the act; but this case was not within its purview.
The 29th section of the act of March 20,1810, 5 Sm. L. 173, provided that constables’ bonds should be “for the like purposes and uses for which sheriffs’ bonds are usually given.” Substantially the same provision was incorporated in the 112th section *278of the Act of April 15, 1834, P. L. 557, and was interpreted to .mean that the remedy should be the same as that upon sheriffs’ bonds, which was regulated by the act of March 28,1803, 4 Sm. L. 45. It was held upon a construction of these statutes that •judgment was not to be entered for the penalty for the use of those interested but for the damages sustained by the party suing: Campbell v. The Commonwealth, 8 S. & R. 414. But the act of June 14,1836, P. L. 637, applies in express terms to “ every bond and obligation which shall be given to the commonwealth by any public officer,” and it was said in McMicken v. Commonwealth, 58 Pa. 213, that “ so much of the act of 1803 as relates to proceedings upon the official bond of the sheriff is no doubt supplied and therefore repealed by this act,” but it was held not to be so as to the recognizance. There is therefore much force in the defendants’ contention that in strict practice two judgments should have been entered, one in favor of the commonwealth for the amount of the bond, and the other in favor of the plaintiffs for their damages. It is not clear, however, what reason the defendants have to complain that judgment was not entered for the penalty, and upon a critical examination it will be seen that the assignments of error do not distinctly and unequivocally raise the objection. Even if they did, it would not be necessary to reverse the judgment; for we would have power to correct it so as to make it conform to the statute: Carman v. Noble, 9 Pa. 366, 372; Scarborough v. Thornton, 9 Pa. 451, 456; McMicken v. Commonwealth, 58 Pa. 213, 219; Act of June 24, 1895, sec. 8, P. L. 212.
Judgment affirmed.