This was an action of statutory ejectment and was brought by the plaintiff, Mattie L. Smith, against the defendant, M. L. Roney, for the recovery of certain lands in Macon county. There was a judgment for the defendant, and.the plaintiff appeals.
1. It appears that on August 2, 1898, the said Mattie L. Smith, who is the wife of Lorenzo D. Smith, executed and delivered unto the British & American Mortgage Company, Limited, a mortgage on the lands described in the complaint in this case, to secure, according to the recitals of the mortgage, the payment of an indebtedness of $700 owing by said Mattie L. Smith to said mortgage company. The mortgage contained the customary power of sale upon default in the payment of the mortgage indebtedness or parts of it, and on the 5th day of March, 1900, under the power contained in the mortgage, the mortgage company sold the lands, and the defendant, Mrs. M. L. Roney, bought the lands at the sale, and the mortgage company made her a deed, under the authority contained in the mortgage, to the said lands as such purchaser at said mortgage sale. In the early part of the year 1901 Mrs. M. L. Roney went into the possession of the said lands under her said deed, and since that time has been in possession of the lands claiming them as her own under the said deed, as such purchaser at said mortgage sale. On the 23d day *543of July, 1902, after said sale and purchase by Mrs. Roney, and after Mrs. Roney had taken possession of the lands as above stated, and while Mrs. Roney was in possession of the lands, and tvhile Mrs. Smith was out of the possession of the said lands, the said Mrs. Smith, plaintiff in this case, filed a bill of complaint in the chancery court of •¡Macon county against Mrs. Roney, the defendant in this case. In' her said bill of complaint the said Mrs. Smith alleged that the said mortgage was given to secure, not her debt, but that it was given to secure the debt of her husband, Lorenzo D. Smith; that the mortgage was therefore void-, that the sale under the'power had thereunder and the purchase by Mrs. Roney at said sale were also void; that Mrs. Roney laid no claim to the land except as a purchaser at said sale, and in her said bill of complaint the said Mrs. Smith prayed that the said mortgage and the conveyance made by the mortgage company to Mrs. Roney under the circumstances as we have above stated them, be declared to be null and void and that they be canceled as a cloud upon the complainant’s title. Mrs. Roney filed an anstoer to this bill of complaint, denied that the mortgage was made to secure a debt of the husband, Lorenzo D. Smith, but alleged that it was made to secure the debt of Mrs. Smith, that the mortgage was therefore valid, and that the sale thereunder by the mortgage company and the purchase by Mrs. Roney at said sale were also valid. The cause progressed to a final decree on the merits, which was rendered on January 20, 1904. In that decree the court has held that “the complainant is not entitled to relief and that her said bill is hereby dismissed out of this court.”
2. It is, of course, a truism that the system of equity jurisprudence was formed for the purpose of supplementing the law and of furnishing remedies for wrongs *544for which the law was, by reason of the unbending and inflexible character of its rules, unable to furnish a remedy. It therefore soon became a truism that, as a general rule, a court of equity would withhold relief to any suitor who possessed, for his particular wrong, a plain and adequate legal remedy.
When, however, a suitor invoked the jurisdiction of a court of equity to grant him a certain relief, and the court possessed the general power to do the particular thing which the suitor called upon the court to do — as for instance, to cancel, on account of facts not shown by the instrument itself, a certain instrument as being null and void — then, in such a case, although the bill of complaint might show that, owing to the situation of the parties to the suit, the complainant had a plain and adequate remedy at law, nevertheless, if the defendant to the bill did not demur to the bill, but filed an answer and submitted himself to the general jurisdiction of the court in the particular case, the decree, when rendered, was not void, but was binding on the parties. “Of course, we refer to cases in which the subject-matter of the suit lies within the jurisdiction of a court of equity, and the objection is that the remedy at law is inadequate, and not to cases in which the subject-matter does not fall within the jurisdiction.” — Penny v. British & American Mortgage Co., 132 Ala. 357, 31 South. 96.
The general jurisdiction of courts of equity to cancel void deeds or other void instruments apparently affecting the title to real estate — not shown upon their faces to be void — is undoubted. As a general rule — no special equity being shown — courts of equity refuse to entertain bills for the above purpose when the complainants are not in possession of the land affected by such void deeds or other void instruments for the simple *545reason that a party out of possession and possessing the legal title may bring his action at law, show the invalidity of the deed or other void instrument which clouds his title, and thus recover possession of his lands. In other words, the complainant, in such a case, has a plain and adequate remedy at law. But this jurisdictional fact is one which the defendant to such a bill may waive by filing an answer and allowing the cause to proceed to final decree. — Penny v. British & American Mortgage Co., Limited, supra.
In this case, therefore, the plaintiff, even if her said bill, as is now claimed by her, was defective because it showed that she was not in possession of the land when she filed the bill, was nevertheless bound by the above' decree, which, in effect, found that the mortgage to the mortgage company was valid and that the defendant’s purchase at the mortgage sale was a valid purchase. — Penny’s Case, supra.
3. We direct attention to the fact that in the above case Mrs. Smith, in her bill of complaint against Mrs. Boney, invoked the power of the court of chancery to cancel said mortgage and deed as clouds upon her title, not under chapter 127 of the Code of 1907 (sections 5443 to 5449 of the Code of 1907 inclusive), but under the general equity jurisdiction upon that subject which it possesses independently of said statutes. — Felix Fittichauer v. Metropolitan Fireproofing Co., et al., 70 N. J. Eq. 429, 61 Atl. 746; Parker v. Boutwell & Son, 119 Ala. 297, 24 South. 860; Shannon, et al. v. Long, 180 Ala. 128, 60 South. 273.
4. It is a well-established rule of this court that when several distinct rulings of a trial court are all grouped in, and made the basis of, a joint assignment of error, then the assignment of error falls if the rulings of *546the trial court as to one of the-matters so jointly assigned as error was correct.
For this reason, and' for reasons already set out in the above opinion, the appellant can take nothing by her first, second, third, and fourth assignments of error.
5. Replication 12 to pleas 1 and 2 sets up as a fact that the chancellor rendered a certain decree and then proceeds to show that no such decree was in fact rendered by the chancellor. The trial court properly sustained the demurrer of the defendant to replication 12 to said pleas, and the appellant can take nothing by her fifth and sixth assignments of error.
■ The defendant, under the plea of the general issue, could have introduced in evidence all of the records and proceedings in the above chancery cause and could have proven all of the facts set up in special pleas 1 and 2. The records and proceedings in said chancery cause, coupled with the facts set out in pleas 1 and 2, if said facts are true, constituted perfect defenses to this suit, however, and the trial court should not be put in error for overruling the plaintiff’s demurrers to said pleas.
There is no error in the record. The judgment of the court below is affirmed.
Affirmed.
All the Justices concur, except Dowdell, C. J., not sitting.