This is an action originally commenced against two defendants, one of whom was a deputy sheriff. But before the pleadings were filed the writ was amended by a discontinuance .as to the officer. A special plea in bar was filed setting- out that the property in question was taken by the officer upon a replevin writ duly issued against one Eli M. Steward, and that the other ■defendant acted as the servant and under the directions of the ■officer in the service of the replevin.writ, " which is the supposed trespass complained of.” To this plea there is a demurrer and joinder.
It is undoubtedly true that an officer acting within his pre*375scribed duties in taking, under a writ of replevin, from the possession of the defendant therein named, the specific property therein described, would not be guilty of trespass, even though the title might be in some third person. Willard v. Kimball, 10 Allen, 211. The officer while in the performance of his legal duties is protected by the law. It is also true that what he can lawfully do, he can, if necessary, avail himself of the assistance of another in doing, and the law will furnish the same protection to the servant as to the master, but not beyond that.
In this case, though the replevin writ describes the property as taken and detained by the said Eli M. Steward, the plea does not allege it was in his possession when taken by the officer. Whether the .writ would authorize the officer to take oven the specific property described if not found in the possession of the defendant, may perhaps be more than doubtful. Stimpson v. Reynolds, 14 Barb. (N. Y.) 506. But we rest the decision in this case upon another point.
It sufficiently appears from the papers in the case at bar, that this defendant and the plaintiff in the replevin suit are one and the same person. This is shown by the fact that the name and residence are the same, and by the recitals in the plea. After describing the replevin writ, the parties, service, and the delivery of the property to the plaintiff therein, the said Samuel Bunker, the plea further states that such "service of said replevin writ in manner aforesaid, by the said E. M. Steward, as deputy sheriff aforesaid, the said Samuel Bunker, the other defendant in the present suit, aiding and assisting him as his servant, was the trespass complained of,” &c. Surely the Samuel Bunker named as defendant, by the word "said” is directly referred to the previous Samuel Bunker named as plaintiff in the replevin suit, and must therefore be the same person.
Hence the defendant in this suit does not stand in the same position as if a stranger to the replevin writ. Here is introduced another and a distinct element. He is perhaps to some extent a servant to the officer, but he is also something more. He is principal as well as servant. It was through his instrumentality that tho replevin writ was issued, through his procurement that *376the service was made, and it was his act by which he received possession of and appropriated the property in question. These acts were not within the province of the officer, and if illegal he could not justify them, nor would his command protect the defendant from the consequences of that illegality, even though he might be innocent in the performance of his own duties. This view is consistent with the authorities cited to sustain the defence.
There may be a statement in the opinion in Adams v. McGlinchy, 66 Maine, 480, which seems at first view to support the defence in this case. But an examination will show the contrary. That was an action of trespass for propei’ty taken upon a replevin writ, in which the defendant in replevin was the plaintiff and not, as in this case, a third party. In that case the defence was property in the plaintiff in the replevin suit. But the officer had never returned the replevin writ, and thereby became a trespasser ab initio. It was therefore said in that case in substance that the claimant of the property having resorted to replevin to. recover possession, and acted as an aid to the officer in obtaining that possession, was so far a servant of the officer that he must stand or fall with him. This was true as applied to the facts in that case. If the service had been completed lay the return of the writ, there would have been no occasion for an action of trespass, nor could one have been maintained. As it was not, there was no service to protect either the officer or his servant.
In this case the plaintiff is a third person, neither a party or interested in the replevin suit. A judgment in that would have no effect upon her rights, much less would a mere pendency of the action. If, therefore, the property is hers, any legal remedy must be open to her to recover possession of it, or damages against the wrong doer. There is no allegation in the plea that the property in question did not belong to her, or that it did belong to the defendant, and hence no admission arising from the demui’rer upon that point. That question is still open. In Ilsley & al. v. Stubbs, 5 Mass. 280, it was held under like circumstances, that an action of replevin would lie. This could *377only be on the ground that the plaintiff was wrongfully deprived of his property, and the same facts would sustain trespass.
Demurrer sustained. Special plea in bar adjudged bad.
Peters, C. J., Virgin, Libbet, Poster and Haskell, JJ., concurred.