The question discussed upon this appeal is, whether, after the levy on the goods of a debtor under attachment, a receiptor is released from his obligation to produce the property towards the satisfaction of the judgment subsequently recovered, by reason of the debtor’s having been declared a bankrupt under the United States bankrupt act of 1867, and an assignee of the estate appointed therein, within four months after the granting of the attachment in the State court.
The lien created by the levy under the attachmant would have been preserved under the bankrupt act of 1841 (Peck v. Jenness, 7 How. U. S. 612; Clark v. Riel, 3 McLean, 494; In re Reed, 3 N. Y. Leg. Obs. 262; Davenport v. Tilton, 10 Met. *303320). But the bankrupt act of 1867, whilst saving other existing liens, declares that upon an appointment of an assignee, by operation of law, all the property of the bankrupt shall vest in the assignee, “ although the same is then attached on mesne process, as the property of the debtor, and shall dissolve any such attachment made within four months next preceding the commencement of said proceedings.”
It has been held that attachments issued by State courts within four months before the commencement of the proceedings in bankruptcy are dissolved by the appointment of an assignee (Ex parte Ellis, 1 Bank. Reg. 154; Pennington v. Lowenstein, 6 Id. 157; In re Brand, 3 Id. 685; s. c. 2 Am. L. T. Bank. 66 ; Miller v. O’Brien, 9 Blatchf. 270).
In Miller v. O’Brien, supra, it was held that the sheriff who, by an attachment, had levied on the property of a debtor before proceedings in bankruptcy, but within four months, and had sold the same on execution in the same action, and paid the proceeds to the judgment creditor before notice of the proceedings in bankruptcy, was yet liable to the assignee for the proceeds realized on the sale.
It is evident that the obligation of the defendant in this action was not one for the payment of the debt in consideration of a release of the levy of the attachment, but was in terms to produce the property of the debtor attached, to satisfy any execution which might be issued, or any judgment that might be recovered, and stood as a mere equivalent or substitute for the property; and whatever occurred, which in law exonerated the debtor or his surety from the debt or the subjection of his property to its payment, equally released the receiptor as surety. The obligation of the bond in suit, for the production of the property towards the satisfaction of any execution to be issued, or any judgment to be recovered in the action, was superseded by a law controlling both creditor and surety, which made the act unlawful. Although the contingency which occurred, subjecting the property to the operation of the bankrupt act, and rendering the condition inoperative, was not incorporated in the contract, and.perhaps not anticipated, it was yet one liable to arise under a controlling stat*304nte, and consequently tacitly understood as lying at the foundation of every such obligation.
The undertaking of the defendant has become superseded by the proceedings in bankruptcy, which had transferred the title to the property to the assignee in that proceeding, and its performance having thus become illegal, judgment should have been given for the defendant. The judgment, therefore, should be reversed.
Larremore and J. F. Daly, JJ., concurred.
Judgment reversed.