232 P. 73 | Okla. | 1924
The Eastman National Bank brought suit in the district court of Kay county against D.L. Naylor et al., and after issues were joined it filed its dismissal of the action, which the court held effective over defendant's objection, and defendant appealed.
The pleadings in the case consisted of the plaintiff's petition and the defendant's answer, in which he asked no affirmative relief, but in which he set up new matter sufficient to constitute a complete defense and which new matter was not denied by the plaintiff in a reply. The defendant thereupon filed a motion for judgment upon the pleadings, admitting the sufficiency of plaintiff's petition but asserting that upon the allegations of new matter in his answer, which stood admitted by the record, he was entitled, as a matter of law, to judgment denying relief to the plaintiff and for his costs. This motion constitutes proper procedure under section 682, Comp. Stat. 1921, and a long line of decisions by this court. After this motion was argued and submitted to the court for consideration and before the court determined the same, the plaintiff filed in the action its written and signed dismissal thereof. The court denied defendant's motion to strike the dismissal and held the dismissal to be effective.
Section 665, Comp. Stat. 1921, grants unto a plaintiff a right of dismissal in addition to the right given him by section 664. In order for a plaintiff to dismiss his action under section 664, supra, he must obtain an order of the court to that effect, while under section 665, supra, his signed and filed written dismissal alone effectively terminates the action if filed in accordance therewith. So we held in Mullen et al. v. Noah,