The following opinion was filed June 4, 1881:
Taylor, J.The appellant insists that he had a right under section 2685 to make and serve the complaint set out in the *609proceedings as an amended complaint. This section provides that “ any pleading may be once amended by the party of course, without costs and without prejudice to the proceedings already had, at any time before the period for answering expires, or it can be so amended at any time within twenty days after the service of the answer or demurrer to such pleading.” The learned counsel for tfye respondent insists that the complaint served as an amended complaint was not such in fact, but a complaint setting out an entirely different cause of action, both in its nature and substance. The first complaint set out a purely legal cause of action in ejectment to recover the possession of real estate, and the cause of action set out in the amended complaint was an equitable one brought by the party in possession of the realty for the purpose of quieting his title thereto. An action so entirely different in its nature and objects from the action stated in the original complaint, cannot be held to be an amendment of such complaint. The actions are so radically different that, under the old system, when courts of equity and courts of law were presided over by different judges, the court of law would have had no jurisdiction to try the action set out in the amended complaint, and the court of equity would have had none to try the action set out in the original.
This court has, we think, settled the question against the appellant. It has frequently held that a complaint in an action at law cannot be amended by substituting therefor an action in equity, not even when the facts stated would sustain either action; and it has also held that a complaint for a tort cannot be amended by substituting an action upon contract. See Lawe v. Hyde, 39 Wis., 345; Johnson v. Filkington, id., 62-67; Lane v. Cameron, 38 Wis., 603-7; Supervisors of Kewaunee County v. Decker, 34 Wis., 378; Lackner v. Turnbull, 7 Wis., 105; Newton v. Allis, 12 Wis., 378; Sweet v. Mitchell, 15 Wis., 641; Larkin v. Noonan, 19 Wis., 82; Stevens v. Brooks, 23 Wis., 196. It will be seen by an exam*610ination of the authorities, that a much more liberal rule is extended to the defendant in permitting amendments of his answer. The reason for a more liberal rule as to defendant’s answer is based upon the fact that if he fails in his defense there is no opportunity given him to establish his right thereafter, but if the plaintiff fails to set out his cause of action properly in his complaint, he is #t liberty to discontinue the same, and can commence again, and in such new action set out his cause of action properly. The only injury he sustains by his misstating his cause of action in his first complaint is the payment of a small bill of costs; whereas the misstatement of a defense is irremediably fatal to the rights of the defendant unless he be permitted to amend and set out his true defense. So also the rule is more liberal in allowing the plaintiff to amend his complaint on trial, when the evidence of his rights is received without objection on the part of the defendant, and the rights of the plaintiff as shown by the evidence are litigated by the defendant without raising any objection as to the sufficiency of the pleadings. It must be held as settled, by the decisions of this court, that the plaintiff cannot amend his complaint, either of course, under the section ■of the statute above cited, or by leave of the court, on application for that purpose before trial, so as to substitute'a cause of ■action in equity for one at law, or one on contract for one in tort, or wee versa. Such substitution of causes of action is not .an amendment within the meaning of the statute authorizing ■amendments.
It is insisted by the learned counsel for the appellant, that the court should have allowed him to serve and file the complaint as proposed, upon his application and the affidavits presented showing that it vras the original intention to commence ■an action to avoid the tax deed set out in the proposed complaint, and that it was by mistake that the first complaint was filed. It is claimed that this motion was made under section 2832, and that it should have been allowed on the ground *611that the first complaint was filed by mistake or excusable neglect. We are not satisfied that the plaintiff brought himself within the provisions of said section. It does not appear that the plaintiff or his attorney was, at the time of filing the first complaint, mistaken as to any of the facts upon which the plaintiff relied to obtain the relief sought. The only apparent mistake in the proceedings was a mistake as to the kind of proceeding which should be taken in order to obtain the relief sought. Upon the facts stated, the learned counsel for the plaintiff was of the opinion that the relief could be obtained in an action of ejectment, and therefore served a complaint in such an action. In this he was mistaken. In filing and serving the first complaint he did precisely what he intended to do, with a full knowledge of all the facts before him. The mistake was a mistake in applying the law to the facts. It was simply a mistaken opinion that, upon the facts known and stated, an action of ejectment could be maintained. We are unable to say that the court below abused its discretion in refusing to permit the plaintiff to cure such mistake of law by changing his cause of action from a purely legal one to one purely equitable. We do not deem it necessary to cite authorities for the purpose of showing that a party in the actual and exclusive possession of real estate cannot maintain an action of ejectment against a person not in possession who claims title thereto.
By the Court. — The judgment of the circuit court is affirmed.
A motion for a rehearing was denied September 27, 1881.