The Interstate National Bank of Kansas City, Kan., the defendant in error, sued the Florence Oil & Refining Company and William E. Johnson, the plaintiffs in error, on a promissory note executed by the last-named parties for the sum of 810,000, which was dated November 25, 1893, and was made payable 180 days after the date thereof. The summons in said action was served on the defendants below, m'-pootively, on July 13, 1895, and on August 10, 3895. The summons required the defendants “to appear and demur or answer to the complaint filed in said action * ~ * within ten days " ° ~ after* this summons shall be served.” The record shows that on September 3, 1895, the 'defendants below filed a motion to strike out the affidavit attached to the plaintiffs complaint, which affidavit was as follows:
’‘.John A. Peny, being tbr.t duly mvom, upon his oath deposes and says that he is the attorney for the plaintiff; that he has read the foregoing complaint, and knows the contents thereof, ami hm.1 the same is true to the best knowledge jüjsd Miel of the affiant. John A. Perry.”
The motion addressed to the affidavit was heard on October 1, 1895, and was on that day overruled. On the same day the defendants asked leave to file a demurrer to the complaint, which was granted, and a demurrer in the following language was filed:
■‘Ciomo now the defoiuX-mts, the Florence Oil & liefming Company and William IS. Johnson, by their attorneys, Paiterson, Kieliardflon & Hawkins, and demur <o ihe plaintiff's complaint in this cause, and for cause of demurrer say that raid complaint does not state filers sufficient to constitute a cause of action.”
The demurrer was forthwith heard and overruled, whereupon the defendants asked leave, to file an answer to the complaint, which leave was denied. Thereupon the plaintiff below moved the court for a, judgment against the defendants by default, whicli motion was granted.
The record having been removed to this court by a writ of error, it is here urged that a reversible error was committed by the trial court in refusing to grant ihe defendants below leave to answer the complaint after the motion to strike out the affidavit and the demurrer had been overruled. It is not claimed in this court as a ground for reversal that either the motion or the demurrer was well founded in point of law, but it is insisted that, notwithstanding the fact that both pleadings were obviously without merit, the trial court was, nevertheless, bound to grant permission to file an answer, and this without any precedent showing that the defendant had a meritorious defense. We are of opinion that the record
“168. Judgment may be had ii the defendant fails to answer the complaint as follows: First, in an action arising upon contract for the recovery of money or liquidated damages only, if no answer, demurrer or motion 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 the application of the plaintiff, shall enter the default of the defendant, and immediately thereafter, if the complaint shall have been or shall then be properly verified, enter judgment for the amount specified in the summons, including the costs against the defendant or defendants, who are so in default."
“74. When a demurrer is decided, either in term time, or vacation, the court or judge shall immediately cause the decision thereof to be entered in the record, and may proceed to final judgment thereon in favor of the successful party, unless the unsuccessful party shall plead over or amend upon such terms as shall be just, and the court or judge may fix the time for pleading over and filing amended pleadings; and if the same be not filed within the time so fixed, judgment by default may be entered an in other cases. * * *”
These sections of the Code seem to imply that where a demurrer to a complaint is not filed in time, but is allowed to be filed out of time, and is then overruled, It is necessary to apply to the court for leave to file further pleadings, and that the granting of such leave is discretionary with the trial court. In the present case we think that it appears with sufficient certainty that leave to file an answer was denied because the trial court was satisfied by the previous action of the defendants that an opportunity to answer was sought merely for the purpose of delay. We ha ve not been able to discover any defect in the complaint which furnished a fair pretext for the demurrer, and.it is conceded that the objection taken to the affidavit was utterly groundless. So far as the record shows, the application for leave to answer was not accompanied by any showing, either oral or written, that the defendants had a meritorious defense, and, in the absence of such a showing, we cannot say that the court abused its discretionary powers in refusing leave to file an answer; much less that it committed a reversible error. When it is necessary to apply to a trial court for leave to file an answer to a complaint or declaration, we must concede to it the power to deny such leave, if it is satisfied that no real defense to the cause of action exists, and that the purpose of the application is merely to prolong the litigation. The judgment below is affirmed.