The grounds of demurrer to the petition are as follows:
First. The appointment of a receiver as set forth in the petition, was a judicial act of th‘e district court, and was not wrongful; and that defendants are not in any way responsible for the action of said court.
Second. The bond was given as security for the faithful performance of tjre duty assigned to the receiver by the law, and the orders of the court, and there is nothing appearing in said petition, whereby any neglect of duty or disobedience is charged upon said receiver.
Third. Said petition is otherwise insufficient in law to sustain said action.
The third specification of the demurrer is too general. By the Code, demurrers for formal defects in a pleading, are abolished. Those for substantial defects, must set forth the true grounds of objection to the pleading demurred to. Section 1754. Tested by this section, we can give no weight to the third ground of demurrer.
The second is evidently based upon a misunderstanding of the instrument upon which the suit is brought. There was a bond given by the receiver, and also one by Hurlburt, as a condition precedent to the appointment of such receiver. This suit is brought, not to recover for the wrongful action of the receiver, nor upon his bond, but upon the obligation entered into by ITurlburt, to procure the appointment as prayed for in the bill. The two instruments are entirely distinct, and it must be quite obvious, that while the receiver might discharge his duty, and not be liable upon his bond, the petitioner, ITurlburt, might still be liable for wrongfully instituting a proceeding which led to the giving of the receiver’s bond. As well might it be urged, that because the sheriff, in the service of an attachment or an injunction, discharged his duty, and would not be liable upon his official bond, that, therefore, the party procuring the attachment or injunction, could not be made liable upon the bond by him given to procure the process. It is true that the appoint*524ment of a receiver, is a judicial act, and for the action of the court in appointing him, the defendants may not be liable. But it by no means follows, that the defendants may not be liable for the wrongful act of their principal, in procuring such appointment. The complaint is not against the action of the court, but against tbe defendant, Hurlburt, for having ashed and obtained a process, without cause — for having succeeded in taking tbe plaintiff’s property from under bis control, and placing it in tbe bands of a receiver, without right, as was afterwards determined in tbe action then commenced.
Tbe granting of an injunction is a judicial act, and yet? who would claim that tbe party asking tbe same, would not be liable upon tbe bond by him given, if it should afterwards appear that damages bad been sustained by tbe obligee, by reason of sucb injunction ? Tbe court granting tbe injunction acts ordinarily upon tbe facts stated in tbe petition, but tbe law has wisely provided for a bond to indemnify tbe defendant for tbe damages by him sustained. So, in this case, upon tbe facts stated in tbe petition, tbe court virtually granted an injunction, by taking tbe property from tbe control of tbe parties claiming it, and placing it in tbe hands of tbe receiver; and at tbe same time, in order to protect the interest of each, required tbe person so appointed to give bond, and to secure defendant, (tbe present plaintiff,) in bis damages, on account of tbe wrongful suing out of tbe process, and tbe wrongful appointment of tbe receiver, required the petitioner to give tbe bond sued upon in this case. Upon tbe same principle that a recovery may be bad upon a bond for an injunction, for an attachment, and similar instruments, may tbe plaintiff, upon a proper showing, recover upon this, though tbe receiver was appointed by tbe court.
It is suggested, that tbe demurrer was sustained upon tbe ground that tbe plaintiff' should have bad bis damages awarded him at tbe time of tbe determination of tbe original suit; or should first institute bis action against Hurlburt, and have bis damages awarded; and that until it is, *525in some manner, first ascertained that he has sustained damages, and the amount thereof, he cannot sue upon the bond. If this was the ground, we entertain no doubt but that he may have his actual damages ascertained in the action, and take his judgment therefor against the party making the bond. Falls v. McAffee, 1 Iredell, 139; Harrison v. Balfour, 5 Smedes & M., 301; Code, section 1818.
Judgment reversed.