By the Court
Atwater, J.This was an action brought to foreclose a mortgage upon some two hundred and fifty lots in Rochester, Olmsted County, being for a balance due on the purchase money of said lots. Several defences were set up in the answer, only one of which it will be necessary to notice, in the view taken by this Court, of the ruling upon the same by the judge before whom the issue was tried. The second defence was substantially as follows :
That the mortgagors bought' the mortgaged premises of the Plaintiff for $18,750, and took his deed with covenants of title, seizin and good right to convey. That title to one undivided fourth of the property had failed and that the Plaintiff was never seized of one undivided fourth of the premises, and that to five of the town lots the Plaintiff had no title whatever, and that from these five lots the Defendants had been evicted, and alleged damages sustained to the amount of one-fourth the purchase money, viz: $4,687.50 and interest, besides the value of the five lots, which they asked to offset against any sum found due the Plaintiff.
There was a reply putting in issue these allegations, except with reference to the five lots, which it is alleged, were described and mentioned in the deed by mistake. This issue, *362among others, was tried by the Court by consent of parties in open Court.
Evidence was introduced by both parties touching this issue, and various objections were urged by the counsel for the Defendants, to the competency of the evidence offered by the Plaintiff, the most of the objections relating to the insufficiency and informality of the deeds and acknowledgements, through which Plaintiff derived his title to said fourth part. The evidence however was received by the Court, subject to the objections,'the Court reserving its decision thereon until the testimony should all be in, and the case be finally sub-. mitted.
Upon the final submission of the case, the counsel for the Defendants again claimed and insisted that the testimony and records objected to, be excluded and not considered by the Court, “ to which the Court then and there replied and held, that the second defence made in and by the answer, (save as to the five lots,) could not be set up or received to prevent a recovery by the Plaintiff in this case, and that the same was not a valid and sufficient defence, and thereupon the Court rejected all the evidence offered on either side in relation thereto.”
This ruling of the learned judge was clearly erroneous. The ground upon which it was made is not stated, but it may be inferred that the Court supposed such a defence was inadmissible under the code. It has long been too well settled to admit of doubt, that the breach of a covenant of seizin constitutes a good cause of action, against the covenantor. If the' Plaintiff never had any title to an undivided fourth part of the premises deeded to Defendants, there was a breach in the covenant of seizin as soon as the deed was delivered to the Defendants, and a cause of action then accrued in their favor against the Plaintiff. McCarty vs. Leggett, 3 Hill, 134; Bingham vs. Widderwax, 1 Com., 509; Hilliard on Real Prop,. 2d vol., 403, et seq.; LeRoy vs. Beard, 8 How., 451; 8 Black., 76.
It is claimed by the counsel for the Respondents, that this defence is technical; that if admissible at all for the purpose sought, it presents the question, whether from the proofs there is shown in fact a substantial, not technical, defect of title and *363ownership in the Plaintiff, such as to have worked an actual, substantial present damage to Defendants.
The counsel has here fallen into "a grave error as to the nature of this defence. As a cause of action, breach of the covenant of seizin has always been regarded with favor by the Courts, eviction not being a pre-requisite in order to sustaining it, nor could it be defeated by showing that the grantor had acquired title previous to the commencement of the action. And indeed, a more serious ground of complaint can scarcely be conceived, than for a person to dispose of real estate for a large consideration, to which he had no right, while holding himself out as seized of a perfect title. Nor would the grantor stand in any better position, were it true, as claimed by Respondent, that the grantees have the right or power to perfect the title in themselves. They have taken care to protect themselves against an emergency of this kind, and it was the grantor’s business to see that his covenant was kept when he executed the deed. Nor can we examine the proofs offered, to determine how nearly the grantor succeeded in proving a legal or equitable title, or whether his grantees sustained damages from defect of title, for these proofs are not properly before this Court for consideration, having been all rejected by the Court below. That Court has never passed upon these proofs, farther than to decide they had nothing to do with the case. Nor indeed, is any issue of this kind raised by the pleadings. The reply fully traverses the allegation in the answer, alleging that the Plaintiff had good right to convey, &c., and does not admit and attempt to justify by subsequently acquired title, nor allege that from failure of title the Defendants sustained no damages. And even were the proofs to be considered, they are not of a nature to strengthen the equities of the Plaintiff, since he only attempts to trace down a legal title from his grantors.
Whatever might have been the rule under the former system of pleading, we entertain no doubt but that under the code, breach of the covenant of seizin may be set up as a counter claim, in an action to foreclose a mortgage given for the purchase money of the premises sought to be foreclosed. Sec. 66, Comp. Stab., p. 541, provides that the answer must *364contain “ a statement of any new matter constituting a de-fence or counter claim.” The following section provides that “ the counter claim mentioned in the last section must 'be an existing one in favor of the Defendant and against the Plaintiff, between whom a separate judgment might be had in the action, and arising out of the following causes of action : 1st, A cause of action arising out of the contract or transaction, set forth in the complaint, as the foundation of the Plaintiff’s claim, or connected with the subject of the action.”
The defence here set up comes within the requisitions here laid down. The claim is an existing one in favor of the Defendants, (or at least some of them,) and against the Plaintiff, anda separate judgment might be rendered between them in this action. It is also a cause of action arising out of the contract or transaction set forth in the complaint, as the foundation of the Plaintiff’s claim. The complaint alleges that this mortgage was given for the purchase money of the premises, and it has been held by this Court that where premises are conveyed by deed, and a mortgage at the same time taken back to secure the purchase money, the whole constitutes but one transaction. The Defendants were not only at liberty to set up this claim, but by the 68th section, unless they did so, they could not thereafter maintain an action against the Plaintiff on such claim.
The counter claim here set up also comes within the second subdivision of section 61, to wit, £C in an action arising on obligation, any other cause of action also arising on obligation, and existing at the commencement of the suit.” In the case of Lovejoy & Brockway vs. Morrison et als., decided at the last December term, we had occasion to examine this statute, and there held that the statute “ blended the courts of law and equity, and permits and even enjoins the litigation and settlement of all equities existing between parties to an action in one suit, which formerly could be only enforced by way of cross action, or cross bill. It permits but one form of action for the settlement of all civil claims of a private nature.” In that case the counter claim arose on contract, and a question was made as to whether the word obligation applied to such a c.ase, a doubt which cannot here arise, since the contract of *365the Plaintiff, the breach of which is complained of, was an obligation of as strong and binding a character as any known to the law. We think the defence here set np falls within the object and language of the statute, and that the Defendants are clearly authorized to litigate the breach of seizin in this action.
We have examined the authorities cited by Bespondent to show that this defence is inadmissible, but do not think them applicable under the code. The case of Abbott vs. Allen, 2 John.Ch., 519, decides that that case comes within the doctrine declared in Bumpus vs. Planter, 1 John.Ch., 213; “that a purchaser of land who is in possession, cannot have relief here against his contract to pay, on mere ground of defect of title, without a previous eviction. If there be no fraud in the case, the purchaser must resort to his covenants, if he apprehends a failure or defect of title, and wishes relief before eviction. This is not the appropriate tribunal for the trial of titles to land.” In the case cited in the first of Johnson, the question was not upon the breach of covenant of seizin, but of that of warranty. And in these cases the relief was denied, upon the ground that the court of equity was not the proper tribunal to grant it. The case of Leggett vs. McCarty, 3 Ed. Ch. R., 109, is merely a recognition of the two cases cited in Johnson. The case of Edwards vs. Boeline, 26 Wend., 109, was an appeal from chancery, and the same doctrine was held. It was also questionable in that case, whether the answer sufficiently alleged a defect of title. But it is stated, “ that if there was a serious question about the title, and a suit had actually been commenced, to recover a portion of the land, chancery might enjoin the Bespondents from proceeding at law to collect the whole amount of the mortgage debt, until the title had been tried,” citing 2 Johns. Ch. R., 546. In Tallmadge vs. Wallis, 25 Wen., 106, which was an action at law on a bond for the payment of the purchase money for land, it was held, that where the purchaser has acquired any estate or interest whatever in-the premises, or obtained any benefit by the conveyance, he cannot plead want of seizin in the vendor, in bar of an action for the recovery of the purchase money, but must, with his plea, give notice of the facts *366he relies 'upon to reduce the amount of the recovery, as for a partial failure of consideration. Thus, none of these cases hold that a party complaining of a breach of,seizin is not entitled to relief, but some of them hold that he must resort to a court of law for his remedy, and others that his pleading must be of a special nature. It cannot in this case be claimed that the parties are not before the proper court to grant relief, nor is any question made that the answer does not properly present the issue, and we cannot regard those cases as having any bearing upon the right of the Defendants to make this defence under the code.
The case of Brown vs. Manning, 3 Minn., 35, is not anal-agous to this, and does not sustain the principle contended for by Respondent. In that' case the Plaintiff sued upon a quantum, meruit, and set out in his complaint the reasons why he did not sue upon the covenants in his deed, to wit: that the same was given and accepted by him under fraudulent representations. This would have been an analagous case, had the Defendants here brought suit to recover back the moneys paid by them, as for moneys had and received by Plaintiff to their use, on the ground that the deed was given and received through fraudulent representrations. The remarks in the opinion in that case, were intended to show that the Plaintiff could not have sued upon the quantum meruit, except for the allegation of fraud, but must have relied upon the covenants in his deed. This is undoubtedly correct where a party sues to recover moneys paid, or for damages on the ground of defect of title. But it does not reach the question of the right of Defendants under the code, to plead breach of covenant of seizin, in an action to foreclose a mortgage for the purchase money. The Defendants here in fact, do rely upon their covenants, and the only question is whether they may plead them as a defence, or must be put to a separate action to enforce their rights. The court in which they are summoned, has not only full power to determine those rights, but is the same to which they must resort in case oí suit brought on the covenant, and not a single substantial reason can be urged, it is believed, why the rights of all the parties should not be litigated and settled in this action, while the advantages of such *367course are numerous and obvious. And as tbe statute not only does not forbid, but expressly enjoins, such, proceeding, it would seem that the courts should hasten to sanction every attempt to conform to a system pregnant with such important advantages. Whatever inconveniences and defects may be attributable to the code in other respects, we think in this its tendency is to diminish litigation, and to enable parties more cheaply and expeditiously to determine their rights.
With regard to the rule of damages applicable to this issue, it is deemed unnecessary for this Court to express an opinion, since that question does not appear to have been considered by the Court below. It is true, that the Defendants claimed, when the case was submitted, that they were entitled to recover, or have off-set against the claim of the Plaintiff one-fourth of the purchase money and interest, which claim was rejected by the Court. But this claim necessarily fell with the rejection of the second defence which was excluded by the Court. When that defence is entertained, if the same shall be proved, there is no reason to suppose that the Court will not apply the correct rule of damages in favor of the Defendants, in accordance with the facts proved, and the law applicable thereto.
The judgment of the District Court is reversed and a new trial granted.