fore justified the defendants in refusing to permit the plaintiff to proceed with the work. So far as this question is concerned, we are of opinion that the defendant Shea, as the head of the department of bridges, is to be regarded as representing the municipal corporation in such sense as to fall within the provisions of section 1314 of the Code of Civil Procedure, and upon service of a notice of appeal the same would operate as a stay of the order appealed from without an undertaking or other security. People v. Daly, 75 Hun, 186 , 27 N. Y. Supp. 283 . The steps, therefore, to procure a stay, were regular, and the appeal was sufficient to stay, if an appeal could operate as a stay of such an order. Upon this subject we are of opinion that it did not so operate. Sixth Ave. R. Co. v. Gilbert El. R. Co.,
71 N. Y. 430 , where the court held that an appeal did not affect the validity or effect of the judgment appealed from, so far as it restrained the action of the defendant; and he was not absolved from the duty of obedience to the mandate of the judgment. This rule is firmly established. Genet v. Canal Co.,
113 N. Y. 472 , 21 N. E. 390 ; People v. Canvassers, 74 Hun, 179 , 26 N. Y. Supp. 345 ; Power v. Village of Athens, 19 Hun, 165 . As we have seen, the injunction order in this case was prohibitive. It operated of its own force, and needed no other process to enforce it. The foregoing cases have, therefore, precise application, and control the rule which must be applied. The defendants could in no wise violate the injunction order without rendering themselves liable to punishment as for a contempt unless it was absolutely void (
Daly v. Amberg, 126 N. Y. 490 , 27 N. E. 1038 ), and this is not claimed. They were, therefore, guilty of contempt in violating the injunction order, and the appeal therefrom furnished them with no legal protection. The defendants were not without a sufficient remedy. They could have applied to a court or judge for a stay of the operation of the injunction, pending an appeal from the same. Under the circumstances of this case there is every reason to believe that such an application would have met with the favor of the court. It is apparent, however, that the defendants acted in good faith in what they did. The defendant Shea, and all others save the defendant Butts, acted under the advice of counsel, and supposed that they had authority for whatthey did. Butts was the assistant corporation counsel who gave the advice, and he acted upon an examination of the law, and in the full belief that his construction of the code provision in respect of the effect of the appeal was correct. It therefore clearly appears that there was no willful intent to violate the injunction order. It is also to be observed in this connection that the defendant Shea had in good faith doubted the right of the plaintiff to go upon the bridge and lay its tubes and prosecute its work, and there is no reason to believe but that he took such steps as would assure himself of the legal rights of the plaintiff, and his duty in the premises. He was advised by the legal adviser of the city that the plaintiff had no rights thereon. Upon receiving this advice, it became his dutv to prevent the plaintiff from prosecuting' the work, as his obligation was to protect the structure, and prevent interference. When the injunction was served, he should have obeyed it, but he was again advised that this was