This is an appeal by the plaintiff from an order setting aside a judgment entered by default against L. B. French. The plaintiff agreed to purchase and L. B. French agreed to sell a certain tract of land in Los Angeles County. French covenanted to pipe water to the said land for domestic and irrigating purposes. This, it was alleged, he failed to do, and upon the breach of the covenant this action was brought by the plaintiff to recover damages in the sum of five thousand eight hundred dollars, together with costs.
On July 17, 1915, L. B, French (who died on May 17, 1916) was personally served with complaint and summons. On July 28, 1915, at 10 A. M., upon the failure of the defendant to answer, and the time within which to answer having expired, the clerk of the court, upon the application of the plaintiff, entered the default of the defendant, and on August 2, 1915, entered judgment in accordance with the prayer of the complaint. Between the entry.of the default and the, entry of the judgment, namely, on July 28, 1915, at about 11 A. M., the defendant served and filed in the clerk’s office a demurrer and notice of motion to strike out.
On March 14, 1916, the defendant served and filed his notice -of motion to vacate the default and to set aside the judgment. The court refused to vacate the default but did set aside the judgment upon the ground that the “clerk did not have any jurisdiction on the second day of August, 1915, to enter the said judgment because of the fact that said demurrer and said motion to strike out were on file in said action and undisposed of.”
1. Respondent contends- that the judgment is void becamse the clerk had no authority to- enter it. Subdivision 1 of section 585 -of the Code of Civil Procedure provides: “In an action arising upon contract for the recovery of money or damages only, if the defendant has- been personally served and no answer has -been filed with the clerk of the court within the time specified in the summons, or such further time as may have been granted, the clerk, upon application of the plaintiff, must enter the default of the defendant, and immediately thereafter enter judgment for the amount demanded in the complaint, ’including the costs, *525 against the defendant, or against one or more of several defendants, in the cases provided for in section four hundred and fourteen.”
This being an action based -on contract for the recovery of damages only, the case comes clearly within the provisions of this subdivision. The respondent does not question this, but admitting that the default was entered before his demurrer and motion to strike out were filed, he urges that the filing of the demurrer and motion to strike out raised a question of law for the court to decide and that the clerk, therefore, had no authority to enter judgment.
2. The respondent contends further that the judgment is void because the complaint fails to state a cause of action.
The order appealed from is reversed, with directions' to the court to re-enter the judgment.
Shaw, J., and Olney, J., concurred.
