Caraker brought this action against Archibald Miles and others in the circuit court of Greene County. Defend*199ants were residents of that county. Notice by plaintiff to defendants that he would take depositions was served upon the attorneys of the defendants. The depositions were taken upon this notice. Defendants moved to quash them (depositions) because the notice was not served upon them. The court overruled the motion. The materiality of the depositions as evidence is unquestioned. In the trial of the cause the depositions were read as evidence. Plaintiff recovered judgment, and the defendants appealed.
The only question in the case is, was the notice properly served? Section 3168 of Kirby’s Digest provides: “Where the notice is to be given to the adverse party, it may be served as the summons in the action is authorized to be served.” The summons in the action is authorized to be served by delivering a copy to the defendant. Section 6275 provides: “Where a party to an action does not reside in the county in which it is pending, a notice to him to take depositions .may be served by delivering a copy thereof to his attorney.” The service of the notice upon the attorney is authorized only when the party to whom it is given does not reside in the county in which the action is pending. The service in this case should have been served upon the defendants, they being residents of the county in which the action was pending. The court erred in overruling the motion to quash.
Judgment reversed, and cause remanded for a new trial.