— The summons has been regularly served and returned, which is sufficient to give the court jurisdiction of the person of defendant, and the subject of the action being to recover $2,000 damages for the unlawful taking and detention of plaintiffs’ personal property, is solely Within the jurisdiction of the district courts.
In support of the demurrer, it is urged that inasmuch as it appears by the complaint that defendant is sheriff of the county of Sierra, it must therefore be inferred that he is sued for an act done in virtue of his office ; and under § 19 of the practice act, the action must be tried in that county. This does not follow. A court may have jurisdiction of the person and subject of the action even if the proper county is not named and the defendant is entitled to have it tried in another county.. The action, even if it be against the sheriff, for an act done in virtue of his office, may be properly brought in this county, although the place of trial may be in Sierra county. The language of the practice act applicable to such cases, is, that it “ shall be tried” — not that it shall be brought “ in the county where the cáuse, or some part thereof aroseand § 21 authorizes the court to change the place of trial, when* the county designated in the complaint is not the proper county. By this complaint, it does not appear that defendant is sued for an act done in' virtue of his office, or that the cause of action, or any part thereof, arose in the county of Sierra. If such, in fact, be the case, t¿e transfer will be ordered when it is made to appear, but it is not a ground of demurrer. Judgment for defendant upon this ground of demurrer would not transfer the action to the proper county or determine whether the plaintiff, if the allegations of his complaint are true, ought to recover.
If it appears by the complaint that another county is the proper place of trial, it would be correct practice for the defendant to move for a transfer to that county, upon the complaint; if it does not so appear, *87the motion to change the place of trial should be made upon the answer or affidavits. Whenever it is made to appear that the place of trial is in another county, I will consider it my duty to make the transfer, whether the parties ask it or not.
The second ground of demurrer I think is not well taken. Demurrer overruled.