The assignments in this case are— ml. That the Court erred, in determining that the demurrer reached back to the declaration. 2d. In sustaining the demurrer to the declaration.
The counsel for the plaintiff does not deny the general principle, that a demurrer to a plea, may. reach the declaration ; bt4 it is contended, the cir-' cumstance of the defendant having demurred to the declaration; of his demurrer having been overruled; and of his having pleaded over, creates an exception to the rule: that, the Circuit Court having once passed on the sufficiency of the decláration, it was incompetent for the same tribunal, at a ■ succeeding term, to reverse the decision; also, that the defendant having submitted to the first decision, he thereby waived the defect, if any, in the declaration, and could not, afterwards, claim any benefit from it; and that to adjudge it insufficient, on the demurrer to his several bad pleas, is to give him an advantage for his own wrong.
The principle is conceived to be well settled, that a demurrer to any part of the pleading may refer to *403ike first error, and when filed by the plaintiff, to the plea, it may be visited on his own declaration, if defective and insufficient.
The position is equally correct, that a party who . - as acquiesced in a decision, by pleading over, amending the pleading, or otherwise varying the state of ecord in conformity to the decision, will be considered to have waived that question, and can not af-terwards claim a revision of it, in the- sameform, either in the same, or in the appellate Court. But the same question may subsequently arise, in a different form, and require an independent adjudication: it it may so happen, where a special plea, containing matter which would be good, under the general issue, has been overruled on demurrer, and the defendant offers ' evidence of the same defence under the general issue; or, it may be so, whore a motion, in arrest of judgment is made, on the same objection to the declaration, for which a demurrer has been overruled ; and on the same principle, the supposed insufficiency of this declaration, was subject to an independent consideration, on the demurrer to the pleas: the same principle of decision, in cither form, would produce a similar effect.
Many defects in a declaration may bo cured, by pleading to the merits, either before or after a demurrer. So far as this effect has been produced, the plaintiff is entitled to the benefit of it, whenever the question subsequently recurs, wither on a second demurrer, bn a motion in arrest of judgment, or in error. Where, however, the declaration does not contain a substantial cause of action, the insufficiencies can not be cured by a plea ti> the merits.
*4042. Tlie remaining question relates to the sufficiency of the declaration. As the demurrer could have hut a general reference to it, if it contained one good count, that was sufficient.
No question is raised, respecting the authority of a justice of the peace to issue an attachment for this or any larger amount, and make tlie same returnable to the Circuit Court. On this point, the statute is entirely clear, as it also is in the requisition, “ that whenever the property of an absconding debtor shall be attached, it shall not be replevied, unless the security in the replevy bond shall undertake to return the specific property attached, or pay and satisfy such judgment as may be rendered against the defendant.a
But, the principle objection urged against the declaration is, that it is founded on a replevy bond, given by persons, who do not appear or purport to have had any authority to act for the defendant in the attachment. The statute of 1807, authorises only the defendant, his attorney, agent or factor, to replevy the estate attached. This is the general law applicable to attachments, for sums, exceeding fifty dollars, returnable to the Courts of record: nor does there appear to have been, at the time of these proceedings, any other statute, giving a more latituni-nous right to replevy, except the statute of 1814, which will also be noticed.
Then, it is material to inquire into the legal effect of the replevy bond, at taken in this case.
By the act of 1807, the replevy could be effected, alone by giving special bail to the action, as though the defendant had been arrested, under a capias ad *405respondendum. It is shewn, however, that by the later statutory provision of 1818, as quoted above, in case of an absconding debtor, the replevy can only he made, hy a bond, conditioned to return the specific property attached, or to pay and satisfy such judgment as may he rendered in the cause. This condition haring been substituted in the particular case, in iieu of the special bail bond, and the statute having prescribed no other mode of proceeding upon it, in the event of a ferie hi're, the provision of the act of 1807, necessarily became applicable to it, so as to place it on the footing of bail bonds.
The course of proceeding on hail bonds is prescribed by another act of 1807, “ concerning bail in civil cases.” Such ivas the opinion of this Court, in the case of Sartin & Rodgers vs. Weir & Co.a
In that case the Court sustained the rigid of the plaintiff in the attachment to sue and recover, as as-signee of the sheriff, on a. replevy bond taken pursuant to the said act of 1818, as in case of assigned bail bonds: and, though it was then said, that a scire facias, was a proper writ in such case, it was not said that the action of debt, on the bond, would not have been equally sustainable. Hence, it appears that the circumstance alluded to, that the replevy bond was not given by the defendant in the attachment, or any one representing him, creates the chief difficulty.
It might, at first view, appear, that as a replevy bond, from any other persons equally sufficient, would be no less available, than if given by the attorney, agent or factor of the defendant, there could be no objection to it, on principle, and that it might. *406be supposed to fall within the intent and meaning of the statute: that the only object was to relive the property from the custody of the officer, to save the expense, and to ensure to the plaintiff a return of the property, or the payment of the debt, in the event of a recovery.
This view of the case, has been deemed well worthy of consideration.; but we can not disregard the fact, that the bond grew out of a judicial proceeding, in which the course to be pursued is regulated by law; and that it was not taken pursuant to the directions of either statute which has been referred to.
Yet, there is another statute, which, it is contended sustains the course taken in this case — that is, the act of 1814, “ to revise, consolidate and amend the several acts, relative to justices of the peace and constables.” The fifth section of this act prescribes the affidavit, bond, &c., to be given by one wishing to prosecute an attachment, before justices of the peace; and it further provides, “ that such attachment may be levied on the defendant’s goods and chattels, which shall remain in the hands and possession of the officer levying the same, unless the defendant, Ms or her agent or attorney, or some oilier person, replevy the same,” ¿be.
The 15th section authorises justices of the peace, to issue an attachment for any sum above their jurisdiction, and make the same returnable to the Circuit Court; provided the plaintiff comply with the terms and requisitions contained in the said 5th. section.— Can this statute sanction the bond as given and assigned in this ease'? It was obviously passed with exclusive reference to ¡uoaccdhtgs to be had be/bir-*407justices of the peace, except the 151Ii section. This section only directs the issuance of attachments to the higher Court, on the plaintiff’s complying with the terms therein prescribed for Min. It says nothing of the rights of the defendant, or of the course to he pursued by them, but seems to refer him back to previous statutes. Then admitting that the various statutes in relation to attachments, are to be considered in pari materia, and construed with reference to each other; also, that according to the act of 1827, all these laws are to be liberally expounded, still, the difficulty is not removed; no authority is found by which a stranger, or any Indifferent person, can claim the right to replevy property attached, for sums exceeding the jurisdiction of justices of the peace. Unless the replevy has been made by one who, by law, could claim the right to clo so, the bond can not fall within, the provisions of the statutes regulating the condition thereof, and authorising its assignment to the plaintiff, by the sheriff, as in case of bail bonds. Were it admitted, that the reason is the same for giving the same right of replevy, and all the same properties to the bond, whether the attachment be returnable before the justice, or the Circuit Court, yet it is to be recollected, the law has not declared the same right and properties to exist, and the principle is both important and delicate. If every one has an equal right to replevy attached property, there might often be scrambles for the preference: and an indifferent person might succeed against the defendant, his attorney, agent or factor; and though the Legislature has inadvertently or intentionally given the general right, (if that statute is to ho lit-*408orally construed, but' of which we now express no opinion,) in respect to small demands, and where the consequences could be less serious, it docs not follow, that the same right must attach where the amount is larger; creating- a stronger inducement to management and intrigue.
From these views, we arrive at the conclusion, that the declaration does not contain a legal cause of action; and that the demurrer properly extended to the insufficiency.
As respects the various pleas, it is sufneient to say, they are all considered bad.
But whether or not the sheriff can, at any future time, treat his assignment of the bond as a nullity, and recover upon it an indemnity for any injury he may sustain, from having’ permitted the replevy of the property, in the manner it was done, is a question which does not no v arise, and on which we express no opinion.
The investigation of other points made in argument, is rendered unnecessary, from the opinions expressed oo such as have been noticed.
Let the judgment be affirmed.
Toul.Dig 21, act of 1818.
3 Stewart