The record shows that Francis C. Harbert as plaintiff filed suit in the district court for Lancaster County on March 15, 1952, to recover damages for personal injuries and damage to his automobile alleged to have been, sustained by him, caused by the negligence of Victor Mueller as defendant when the defendant drove his automobile into the rear of the plaintiff’s automobile. The defendant Mueller, in answer to the plaintiff Harbert’s petition, denied generally the allegations of negligence set forth therein, and alleged that any injuries or property damage alleged to have been sustained by the plaintiff were due to the plaintiff’s negligence and "not through any negligence on the part of this defendant. In addition, the defendant Mueller alleged in his' answer, in substance, the following as constituting res judicata to the instant action: Previous to the filing of the instant case by Harbert, the defendant Mueller filed an action for damages in the district court for Lancaster County charging Harbert with negligence in driving his automobile in such a manner as to cause damage to Mueller. In this previous action Harbert (the plaintiff in the present action)' filed an answer and a cross-petition. In his cross-petition he alleged the identical items of negligence with which he charged Mueller (the defendant in the instant case), and the identical cause of action was set forth in his cross-petition as is now set forth in his petition in the instant action. The case was tried on November 29, 1948, in the district court for Lancaster County. At the close of plaintiff Mueller’s evidence in the previous case Harbert, the defendant and cross-petitioner in said action, moved for a directed verdict as follows: “* * * that the court dismiss the plaintiff’s cause of action for one or more of the following reasons, to-wit: 1. That the evidence is insufficient to sustain a verdict in favor of the plaintiff and against this defendant. . 2. For the reason that the evidence discloses as a matter of law that the plaintiff was guilty of *840 contributory negligence in a degree more than slight. 3. That the evidence discloses that the plaintiff was guilty as a matter of law of contributory negligence, which, in a degree more than slight, proximately contributed to the accident and damage, if any, suffered by him; and 4. That the evidence fails to disclose the defendant to be guilty of negligence proximately causing the accident in question.”
Said motion was argued on November 30, 1948. The court announced that he was going to direct a verdict and dismiss both the plaintiff’s petition in said action and the cross-petition. Thereupon, after some discussion between the court and counsel, defendant in said action (plaintiff here) made a motion which was identical with the motion heretofore set out with the exception that the following was added: “And said defendant further reserves the right to withdraw the counter-claims and docket and index action therefor in the event that said motion be sustained.” Thereupon the court stated: “I am going to dismiss the counter-claim and let you back to your remedies whereever (wherever) they are. I am going to dismiss the cross-petition.” The court further said: “I don’t think you are entitled to your cross-petition, as far as I am concerned. I am going to wipe the wholé thing off.” The court further said: “The court having decided to sustain and does sustain the motion of the defendant for a directed verdict so far as it refers to the plaintiff’s case; however, the court is not of the opinion that it can recognize any reservation on the cross-petition, so a juror was withdrawn and the court now directs a verdict for the defendant and dismisses plaintiff’s cause of action and also dismisses the cross-petition of defendant.”
The answer of defendant further alleged that defendant in said action (plaintiff herein) did not file any motion for new trial in said action, and that time for appeal had passed and said judgment and order as above set forth had become final. The defendant prayed that *841 plaintiff’s petition be dismissed, and defendant go hence without day and recover his costs expended.
The reply admitted the foregoing proceedings had by the court with reference to directing a verdict against the plaintiff and dismissing the defendant’s cross-petition.
The defendant Victor Mueller filed a motion for judgment on the pleadings. The trial court considered whether or not the defendant was entitled to judgment because of facts alleged by defendant in his answer and admitted in plaintiff’s reply. The deféndant’s motion for judgment on the pleadings was sustained and the court entered judgment dismissing plaintiff’s petition. From the judgment of the trial court so rendered, the plaintiff Francis Harbert appealed.
The appellant assigns as error (1) that the district court erred in sustaining defendant Victor Mueller’s motion for judgment on the pleadings and in dismissing the plaintiff’s petition; and (2) that the trial court erred in holding that dismissal of a defendant’s cross-petition at the close of plaintiff’s case is a dismissal on the merits.
In determining this appeal, section 25-834, R. R. S. 1943, is pertinent. It provides: “The court, at any time before the final submission of the cause, on motion of the defendant, may allow a counterclaim or set-off, set up in the answer, to be withdrawn, and the same may become the subject of another action. On motion of either party, to be made at the time such counterclaim or set-off is withdrawn, an action on the same shall be docketed and proceeded in as in like cases after process served; and the court shall direct the time and manner of pleading therein. If an action be not so docketed, it may afterwards be commenced in the ordinary way.” (Emphasis supplied.)
As we analyze section 25-834, R. R. S. 1943, it requires the defendant to make his motion to withdraw the counterclaim before the case is finally submitted. The implication to be drawn from this statute is that *842 after the case is finally submitted, it is then too late to withdraw the counterclaim.
The question then arises, did Harbert, the plaintiff in the instant case, withdraw his counterclaim when he was the defendant in the previous case before the final submission of the cause as required by section 25-834, R. R. S. 1943? He moved for a directed verdict in the previous case against the then plaintiff Mueller, giving the reasons why he was entitled to prevail. The trial court then announced what his ruling would be, that is, just how he intended to rule, which is previously set out: Thereafter, the motion for a directed verdict was renewed, giving the same reasons, and adding: “And said defendant further reserves the right to withdraw the counter-claims and docket and index action therefor in the event that said motion be sustained.” It is apparent by the reservation made to withdraw the, counterclaim there was no compliance with section 25-834, R. R. S. 1943. The counterclaim was not withdrawn before the final submission of the cause.
In the case of Miller v. McGannon,
The above language indicates that when the defendant in the instant case moved for a directed verdict and the trial court sustained the motion, it was then too late to withdraw the counterclaim, and a hearing thereon was waived.
We make reference to Lucas v. Lucas,
Section 25-601, R. R. S. 1943, provides in part: “An action may be dismissed without prejudice to a future action (1) by the' plaintiff, before the final submission of the case to the jury, * * While this statute does not deal with the dismissal of a counterclaim before final submission of the cause as does section 25-834, R. R. S. 1943, the language therein contained, as follows, “before the final submission of the case to the jury,” and the language of cases wherein said statute was involved bears out wha.t constitutes a final submission of the case, and is applicable in that sense to the instant case.
In Bee Building Co. v. Dalton,
In Spies v. Union P. R. R. Co.,
In Rhode v. Duff,
In the case of Stungis v. Wavecrest Realty Co.,
We believe the language used in the above-cited cases *847 determines what constitutes final submission of a cause as that language is used in section 25-834, R. R. S. 1943, and, in the instant case the counterclaim was not withdrawn before final submission of the cause.
Several cases are cited by the appellant which hold that where a counterclaim is pleaded, and at the end of plaintiff’s case a verdict is directed in favor of the defendant on plaintiff’s cause of action, defendant- is' not precluded thereafter from maintaining an action upon the demand that he had interposed as a counterclaim. These cases' are from foreign jurisdictions. It would serve no useful purpose to set such cases forth. The law announced therein is contrary to the rule announced in Miller v. McGannon, supra.
We conclude, in view of the foregoing authorities and for the . reasons given in this opinion, the judgment of the trial court should be, and is, affirmed.
Affirme'd.
