— The plaintiff sued in ejectment, and the defendant in his answer pleaded facts constituting an equitable defence, and prayed for affirmative relief against the title asserted against him.
It appears from the evidence, in which there is no conflict, that one R. E. Hutchison, as executor of Daniel Bailey, held a note against William Ammerman and Joseph Ammerman, dated September 25, 1872, payable in the sum of $196.69, one day after date, which note *336had been, executed and delivered to said Hutchison for a debt due the estate of said Bailey by William Ammerman, one of the makers. On the twenty-third of September, 1874, Hutchison, in his individual capacity, brought suit on said note against the makers thereof. Due service was obtained on both defendants. Before judgment on the note by default or otherwise, Hutchison and Ammerman entered into an agreement for a settlement of the debt and dismissal of the suit. At the time of this agreement, one G. W. Shinkle, as curator of Bailey’s minor' children, held a note against Hutchison, the executor of the estate, A statement of the amount of the note in suit, with interest, was handed to Wm. Ammerman, along with the amount of costs, not exceeding six or seven dollars. It was agreed that Ammerman should pay the amount of the note in suit with interest to Gr. W. Shinkle, who should credit the amount so paid on the note he held against Hutchison, and that the suit should be dismissed at Ammerman’s costs. As Ammerman did not have the money on hand at the time of the settlement, it was agreed that he should execute a new note for Shinkle representing the amount of the note and interest in suit, and should secure it with a deed of trust to Shinkle on the land in controvei’sy, which belonged to said Ammerman.
Accordingly, on the seventeenth of October, 1874, Wm. Ammerman executed his note in the sum of $241.55, secured by deed of trust’ which was, by Hutchison, passed over to Shinkle, who accepted it and gave credit therefor on the note he held against Hutchison. Notwithstanding this settlement of the note in suit, Hutchison, without the knowledge of Wm. Ammerman, or his co-defendant, obtained a judgment by default against them on the thirteenth of October, 1875, which on the same day was made final in the full sum of the debt and for costs. This judgment on the margin thereof is certified as having been assigned by Hutchison to one A. Corse on the tenth of *337April, 1877. No execution was issued on the judgment at this time. On the eleventh of July, 1876, William Ammerman sold the land to the defendant, and with the purchase money paid off the note and mortgage he had given to Shinkle, and it is marked paid as of ■ November 9,1876. Long afterwards, on the thirteenth of March, 1878, execution was issued on the judgment of October 18, 1875, under which the land in controversy was levied upon and advertised for sale April 9, 1878. Ammerman did not know there was a judgment until he saw the land advertised for sale. On the day of sale and prior thereto Wm. Ammerman appeared in court and filed a motion to quash the execution and stay all proceedings under it, on the ground that the debt and judgment had .been satisfied. This motion was supported by an affidavit setting out the satisfaction and payment of the note, as hereinbefore stated. It was resisted" by Mr. Parker, attorney of the present plaintiff, and by Mr. Corse, apparent assignee of the judgment. During the pendency of this motion the sale took place and one A. M. Murphy became purchaser of the land at the price and sum of seventy-three dollars. On the nineteenth of April, 1878, he made conveyance of it to W. EL Murphy, the present plaintiff, alleging as a reason that he had been told that he had bought a law suit, and he did not feel able to defend it. The land was worth seven or eight hundred dollars. The defendant was in possession of it by virtue of his purchase from Wm. Ammerman. The court rendered judgment in favor of plaintiff, from which the defendant has appealed.
Unquestionably the judgment, by virtue of which the land was seized and sold, was procured by Mr. Hutchison against equity and good conscience. The note upon which default and judgment in the full amount was entered had been compromised by accep*338tance of the other note of Ammerman secured by deed of trust. Hutchison had accepted and turned over said note and deed of trust to his creditor, Shinkle, and had received credit on his own obligation to the full amount of the paper so received and turned over. It was an act .of extreme injustice in him to insist on an enforcement 'of the note after it had thus been settled and paid by •the defendant. And the defendant had no reason to expect such a movement. Bresnehan v. Price, 57 Mo. 422. It is urged by the learned counsel for plaintiff •that although Hutchison had no right to a judgment on •the note, he was entitled to a judgment for costs, and that as the judgment for costs was right, the sale under it could not be affected by the fraud which impeaches the judgment on the debt. It is true that Ammerman .agreed orally to pay the costs, but he made no agreement or stipulation authorizing a judgment for costs. If the plaintiff had gone on with his suit he could not upon the true state of facts have obtained a judgment -for the debt. On proof that the debt had been paid since suit, the judgment would have been for defendant, •and that would have carried costs against the plaintiff as incident to it. Our statute provides that “in all civil actions or proceedings of any kind, the party prevailing shall recover his costs against the other party, except in .those cases in which a different provision is made by law.” R. S., 1879, sec. 990. No other provision by law is applicable to the case at bar. If a party in his compromise agreement stipulates for an adjudication of costs, in such a manner that a court would feel justified in enforcing it, irrespective of any judgment on the cause of action, such stipulation might afford special authority to the court to render judgment in accordance with its requirements. Thompson v. Union Elevator Company, 77 Mo. 520. But there was no stipulation in this case authorizing the court to enter judgment for costs except as incident to a judgment on the merits. *339When, a court assumes to carry out a compromise requiring a special judgment for costs it should be in pursuance of a stipulation to that effect filed of record, or •should be with the consent of the parties in open court. I do not think the court could have rendered the judgment for costs contended for, under the circumstances of this case, without the written or oral consent of the defendants. Having no right to the judgment for either debt or costs in the suit, any title acquired by the plaintiff in the suit on the note, or by any one having notice of the injustice practiced by him would be voidable as against the defendants or parties holding title from them.
The only question about which there can be any •controversy is whether A. M. Murphy had actual or constructive notice of the injustice by which the judgment was procured. On this issue I think the court erred in finding for the plaintiff, who is the assignee of A. M. Murphy. It may be remarked that A. M. Murphy purchased under a judgment which was being attacked for fraud on the day of his purchase; that tin's contest came off in the court room just before the sale upon papers of record in the case; that the parties Interested in the judgment as of record took open and public action after voluntary appearance by them ; that he admits that he saw Mr. Parker, the attorney who resisted the motion; that he met Parker several times in the forenoon before the sale took place; that he may have been in the court room, but did not hear the arguments on the motion. I think it very improbable that he failed to hear anything of the facts tending to impeach the judgment. Indeed, he does not in his •evidence deny a knowledge of the proceeding itself, although he negatives hearing about the motion. Mr. Ammerman, on being recalled, testified that he informed Mr. Murphy before the sale was over that he was buying a law suit. Corse, Parker and Murphy were all bidding *340at the sale. The fact that land worth seven or eight hundred dollars was going at seventy-three dollars ought to have raised the suspicions of the purchaser. This fact in its nature would tend to indicate an infirmity of the title offered. At the time of the sale The land was in possession of the defendant claiming it by deed of record. Mr. Murphy, the purchaser, admits that he had seen the land before the sale. Under all these circumstances pointing to the defective judgment it is rather' extraordinary that Mr. Murphy should have made no inquiry from any one, prosecuted no search or investigation of the suit and proceedings under which he was about to purchase, but was content at receiving all this-information immediately after the sale and before he got home.
The plaintiff, W. H. Murphy, is in no better condition than A. M. Murphy, the purchaser at execution sale. It is evident that he understood that he was assuming a law suit when he purchased. The sale to-him was with that view, and he does not come forward to contradict it. He has the title acquired by A. M. Murphy and nothing more.
The defendant in his answer prays that the proceedings in the suit on the note be annulled ; that the sheriff’s sale and deed thereunder as well as the deed to-plaintiff be set aside and held for naught, and for such other and further relief as in equity and good conscience he may be entitled to. It would not be in accordance-with tire approved practice prevailing in equity courts-to vacate or annul the proceedings of record in the action on the note, or to set aside the sheriff ’ s sale or the deeds made in pursuance thereof, in this case, for the reason that no parties to the suit on the note or to the sheriff’s sale or deed are before this court. Neither, on the other hand, is the plaintiff entitled to the return of the seventy-three dollars paid at the sheriff’s sale upon any equity existing in his' favor, or in favor of his *341grantor, for the reason that it was not paid towards the discharge of any lawful lien upon the land, nor has defendant had the benefit of any part of it.
Proceeding to administer under the general prayer •of relief the equity to which the defendant is entitled as against the plaintiff, under the facts of the case, I have only to say that so far as he is concerned, the title which he has acquired and asserted in his action of ejectment is fraudulent as against the defendant and constitutes a «loud and an embarrassment upon the true title- to the land which is vested in_the defendant. Accordingly, the judgment of the circuit court is reversed, and the cause remanded with directions to enter judgment for' defendant, to the effect that the plaintiff have nothing by his action, and that the title asserted by him in pursuance of the sheriff’s deed and subsequent conveyance to him be divested from him and vested in the defendant ; and that the defendant recover his costs and have execution therefor.
All concur.