This appeal is from a judgment by default, and from an order denying defendant’s motion to vacate said judgment and default.
The action was commenced in the superior court of Kern county, June 20, 1895, and the summons was *380served upon the defendant at the city and county of San Francisco by the sheriff thereof on the twenty-fourth day of the same month, as shown by the return of said sheriff indorsed thereon. On July 25th, the thirty-first day after said service as shown by said return, defendant’s default and judgment thereon were entered by the clerk.
Defendant promptly moved to set aside the judgment and default upon the ground that they were taken against him through his mistake in the date upon which service of the summons was made upon him, and in support of said motion two affidavits, one made by the defendant and one by his attorney, were read, and in opposition thereto plaintiff read the said return of said sheriff. Ho other evidence was offered or heard.
Defendant’s affidavit shows that immediately after the service of the summons upon him he noted thereon the words “ served June 25, 1895”; that to the best of his knowledge and belief said summons was served upon the 25th and not on the 24th; that if the service was made on the 24th he was then and ever since has been, mistaken as to the date of service; that he informed his counsel that it was served on the 25th; that if he was mistaken in the date his demurrer was filed and served one day too late. Said affidavit also contained a sufficient affidavit of merits.
The affidavit of his attorney, Mr. McCutchen, shows that the papers served upon defendant were handed to him a few' days after the service; that he was then informed by defendant that the service was made on the 25th, and noticed defendant’s memorandum thereof at that time; that defendant informed him of the facts of the case, and instructed him to move for a change of the place of trial, and noted in his journal that July 25, 1895, was the last day to plead; that he prepared a demurrer and the motion papers, and mailed them to Bakersfield, where, as appears by defendant’s affidavit, they were served and filed on the 25th of July.
We think the court erred in not granting defendant’s *381motion. It is true the clerk was required to act upon the sheriff's return, but upon the hearing of this motion the court, upon its clearly appearing that the sheriff was in error as to the date, could have ordered the return to be amended in that particular, and in such case the default and judgment would have been set aside.
That, however, was not clearly shown, and the motion was therefore based upon the mistake of the defendant. It was not questioned that the defendant in good faith believed that the service was made on the 25th instead of the 24th, and that- he therefore believed that his appearance wasúu time. It was such a mistake as is clearly within the provisions of section 473 of the Code of Civil Procedure, which permits the court to grant relief, and which the spirit of the code requires to be granted. Eelief in such cases is said to be within the discretion of the court; but “ the exercise of the mere discretion of the court ought to tend, in a reasonable degree at least, to bring about a judgment on the very merits of the case, and, where the circumstances are such as to lead the court to hesitate upon the motion to open the default, it is better, as a general rule, that the doubt should be resolved in favor of the application.” (Watson v. San Francisco etc. R. R. Co., 41 Cal. 17; Grady v. Donahoo, 108 Cal. 211.) “The code establishes the law of this state respecting the subjects to which it relates, and its provisions and all proceedings under it are to be liberally construed, with a view to effect its objects and to promote justice." (Code Civ. Proc., sec. 4.) In Bailey v. Taaffe, 29 Cal. 424, cited by respondent to the effect that such orders “rest very much in the discretion of the court below, and will not be disturbed by this court unless we are satisfied that the order is so plainly erroneous as to amount to an abuse of discretion,” the court also said: “ It is not a mental discretion to be exercised ex gratia, but a legal discretion to be exercised in conformity with the spirit of the law, and in a manner to subserve, and not to impede or defeat, the ends of substantial justice. In a plain case this dis*382cretion has no office to perform, and its exercise is limited to doubtful cases where an impartial mind hesitates.”
The order refusing to set aside the judgment and default should be reversed.
Searls, C., and Belcher, C. J., concurred.
For the reasons given in the foregoing opinion the order refusing to set aside the judgment and default is reversed.
Harrison, J., Garoutte, J., Van Fleet, J.