An “action for the recovery of real property,” the simplified name substituted by the Code for the' action of ejectment, was brought by Paynter against Mills. '
Before the petition was answered the plaintiff obtained leave to amend it. The amended petition was demurred to, the demurrer was overruled, and the defendant answered. On motion of the plaintiff certain parts of the answer were stricken out, whereupon an amended^ answer was filed. To- á part of the amended answer plaintiff ■demurred; the demurrer was sustained, and to the other part of the amended answer a replication was filed. A trial was had, which resulted in a judgment for the plaintiff, and the defendant appealed.
It is assigned as error, first, that defendant’s demurrer to the plaintiff’s amended petition was overruled. I do not find this demurrer in the record, and we could not therefore determine whether it was well taken. Besides, the defendant,- after his demurrer was overruled, filed an answer to the same-pleading to which he had demurred. It has been often held that by such a step the party waives the error, if any, in the overruling of his demurrer. It is not necessary here to decide whether this principle is affected by anything in our Code. ■
It is alleged, secondly, that the court erred in sustaining the plaintiff’s demurrer to a part of the amended answer, and, thirdly, that there was erftirin excluding certain evidence offered by the defendant oii the trial.'
*444■ The facts proposed to be proven were set forth in that part of the answer covered by the demurrer, and not elsewhere. They were not relevant, except to sustain the pleadings founded upon them, and the demurrer to the pleading haying been sustained, the evidence could not be received. The third point, therefore, is merged in the second, which goes to the correctness of the ruling upon the demurrer. It is proper here to observe that the third assignment of error assumes the offer of evidence to' have been broader than it appears by the bill of exceptions to have been. The offer there stated was merely to prove that the mayor's deed to Paynter was obtained in fraud of defendant's rights, and in violation of the trust created in the mayor as trustee for the occupants and owners of lots. No specific act of fraud' was pointed out in the offer of proof, and it was evidently intended to suggest the samo matter alleged in the answer and involved in the determination pf the demurrer.
The answer having, among other things, set up possession of the premises by defendant,' under authority of one Anna Mills, who was seized thereof by virtue of a deed from one William D. Brown, proceeds to state the ground of defense which is demurred to. Without recapitulating the facts stated in this part of the answer, it is sufficient to say that they were intended to show, and let it be granted here that they do show, prima facie, that Anna Mills, instead of Paynter, was entitled to the deed from the mayor. Then follows this averment: “And the said Jesse Lowe, mayor, as aforesaid, well knowing of the actual occupancy and improvements of said Anna Mills, and at the same time well knowing that said John I. Paynter never was in the possession or occupancy of said lands and premises, and further knowing that said John I. Paynter had no legal or equitable right thereto, * * in direct violation of said trust, fraudulently made and executed a *445deed for said lands and premises # ' * to said John I. Paynter.” It is averred further, that this “ was in direct violation of said’ trust and of the act of Congress aforesaid, and that said deed should have been made to Anna Mills, and not to John I. Paynter.”
Is there, any thing alleged in this answer sufficient to impair the validity of the deed froni the mayor to Paynter ?
The act “ regulating the disposal of lands purchaséd in trust for town sites ” requires the mayor to execute a deed of each lot to the person entitled to it, and when the ' samé lot is claimed by two or more persons, to hear and determine all questions of title according to law and' evidence, and give a deed to the person adjudged to have the best title. It also allows appeals, by persons aggrieved, to the district court. By virtue of his power, under this act, the mayor executed the deed. The power so conferred is, in its nature, judicial. He is to hear and determine questions of title according to law and evidénce, and adjudge which of the claimants is entitled to a deed. The power of the legislature to confer this jurisdiction upon the mayor, the efficacy of his deed to the successful claimant, or to the person entitled to a deed when there is no contest, are questions not raised by the pleadings or made in this case. The answer does not question the jurisdiction of the mayor, nor the validity of his deed, except for the reasons specially given. We are to determine whether these are sufficient.
The rule is general that the decision of a tribunal acting within its jurisdiction, whether: it be a court or merely a board, or an officer having special enumerated powers, caii be reviewed or set aside only by a diréct proceeding for that purpose. As to the merits of the controversy, it is conclusive between parties and privies in all collateral proceedings. This doctrine has been long and undeviatingly sanctioned. It disposes of all that part of the answer *446designed to show that Anna Mills was entitled to a deed. However clearly that may appear from the facts as stated, or may have been proven before the mayor, his determination of the' question could not he reviewed in the district court in .a collateral proceeding between the ¿ame parties or their privies.
• Want of jurisdiction is, of course, fatal, to any judgment Or determination. There are. authorities, also,' that fraud may be given in evidence to impeach a judgment in a collateral proceeding, where .title derived through such judgment is relied upon. Among the cases in which it is so held is that of Webster v. Reid, 11 Howard, 437, and a stranger .to the judgment may show that it was. rendered by fraud and collusion between the parties to it. This, is well settled but I-think no instance will be. found where that which is alleged to have been' fraudulent in this case has been held to vitiate a judgment,The. allegation is; in substance, that the mayor, well knowing that Anna Mills was entitled to the deed, fraudulently made and delivered it to Paynter. The fraud chai’ged is that the mayor purposely gave a wrong judgment. Grant that the.judgment was erroneous, it can make no ■ difference as to its validity whether the mayor intended to decide correctly or wrong-. fully — whether- there was a mere error of judgment or- á willful perversion, of law. The judgment in either case would be conclusive in a collateral .proceeding. If there be any authority to the contrary I have not met with it. There is no averment of any fraudulent practice or device in the course of thé proceedings, of a want of notice, of surprise, of a false record, of deception .practiced upon the unsuccessful claimant. In short, there is nothing averred to negative a full,fair and regular trial before the mayor of the disputed; title to the premises, except that the final decision was fraudulent, because it was contrary to what the mayor well knew it ought to have been. As the conduct imputed to *447the mayor would be reprehensible, if not corrupt,, in an officer exercising the delicate power intrusted to him in this class of cases, it is well to see whether the answer states facts to justify the severe .term “fraudulent” which• it applies to his decision. . Section. 3 of the act in. question^ requires the mayor to “ hear and determine all questions of title according to law and evidence, and give to the person adjudged to have the best title a deed in fee simple.” What is the mayor’s duty ? Is it to adjudge according to whathe may know of the facts, or according to what is proven? No elementary principle is'better known than that, in all judicial investigations; the facts must be found according .to the proofs, unaffected by the private knowledge of the officer or the jury.who try the issue... The express language of the act-is that the mayor shall determine-according to “.law and evidence.” The answer- does not deny that the mayor so determined in this case. It does not show that any evidence was offered before him of Anna Mills’, right to the deed, nor deny that evidence was given ■ conclusively establishing the right of Paynter. It is silent as. to all the proceedings before the mayor. These are presumed to have been regular, and the answer should have at least. asserted that they were- not, and have not shown wherein they were not, regular before it .pronounced the judgment fraudulent.. Phave confined myself to the sufficiency of what is set forth in the answer as a defense against the plaintiff’s title, without intending, to ■touch the general question of the effect or couelusiveness of- a mayor’s deed, or any question not involved ill the ¡demurrer. The judgment should be affirmed.
Judgment affirmed.