This suit was instituted in the circuit court of Jackson county, January 18, 1907, to clear the title of plaintiff to certain land owned by him in Kansas City from the lien of a special taxbill issued to defendant The Parker-Washington Company on account of an improvement of the street in front of the land made by said company under contract with the city. Plaintiff contends the taxbill is invalid because of secret rebates given by the company to other property owners, but instead of bringing’ a suit in equity to cancel the taxbill plaintiff in his petition founded his cause of action on section 650, Rev. Stat. 1899, and alleged only such facts and asked only such relief as that statute makes essential to the statement of a good cause of action to quiet the title tb real property. On the theory that the Parker-Washington Company possibly had sold- and assigned the taxbill the petition was filed against that company and other defendants unknown to plaintiff, but since the company admits it is the owner of the taxbill we shall speak of it hereafter as the defendant. The petition alleged that plaintiff was the owner in fee of the land in question and in possession thereof and that the defendant is “claiming some title, estate and interest in and to said real property adverse to the title, estate and interest of plaintiff therein.”
The petition then proceeds to state in substance that the adverse claim consists of the alleged lien of a special taxbill of $618.13, issued by Kansas City for the paving of Twenty-first street from Tracy avenue to Charlotte street, “a more complete description of which said taxbill plaintiff cannot give for the reason that the same has never been in his possession, and neither it nor a copy thereof has ever been accessible to plaintiff; that the interest of such persons so unknown to plaintiff as aforesaid in the subject-matter of-this petition so far as plaintiff’s knowledge extends, consists in having such taxbill declared a law*667ful lien upon the land above described to secure the payment of the amount of said taxbill and interest thereon. ’ ’ The prayer of the petition is that the court “try, ascertain and determine the title, estate and interest of the plaintiff and the defendants and each of them respectively in and to said real property, and by its judgment and decree define whatever interest the several parties, plaintiff and defendants, herein, may have in and to said real estate.”
Defendant in its answer admits that it is asserting a lien against the property, alleges that the taxbill is due and unpaid and prays for the foreclosure of the lien. The reply is as follows: “Plaintiff for reply to the answer of The Parker-Washington Company to the first amended petition says that the taxbill referred to in said answer is and at all times has been void and of no effect for the reason that the said defendant, The Parker-Washington Company, prior to the issuance of said taxbill and the passage of the ordinance under which the same was issued entered into a private agreement with the owners of some of the property to be assessed for the payment of the work under said ordinance whereby it was agreed that such owners so entering into said agreement should receive a rebate on the assessment against their property; that said private agreement was fully carried out and said rebates allowed; that by virtue of said rebates, the assessment pursuant to which said taxbill was issued against plaintiff’s property, did not constitute an apportionment of the cost of said work according-to the front feet of the property facing on the street upon which the public improvement was made; that by virtue thereof said assessment and apportionment was unequal, fraudulent and void.”
Uncontradicted evidence was adduced at the trial by plaintiff to the effect that before the passage of the ordinance authorizing the improvement, defendant *668obtained the signatures of three owners of lands abutting the street to a petition for the paving and allayed their opposition to the proposed improvement by giving each a secret rebate from his assessment of from $125.00 to $150.00.
Throughout the trial the court treated the action as a statutory suit to quiet title and rendered judgment for plaintiff adjudging that “he is the owner in fee simple of the real estate . . . that said taxbill is null and void and of no effect whatsoever and that the same does not constitute any lien and does not give any estate, or interest in or on the said land,” and that plaintiff “holds the land free and clear of said taxbill the same as though it had never been issued. ”
After unsuccessfully moving for a new trial and in arrest of judgment, defendant filed application for appeal and was allowed an appeal to the Supreme Court. A decision was rendered by that court on the question of jurisdiction (235 Mo. 467). In the opinion, which was written by Valliant, J., the court hold that though in form the action is one under the statute to quiet title to real estate, in substance it is a suit to cancel the lien of a special taxbill and looking rather to substance than' to form the court regard the action-as one not directly affecting the title to real property and, therefore, as one not within the jurisdiction of the Supreme Court. Accordingly the cause was transferred to this court.
The first complaint of defendant raises a question of pleading. It is the idea of counsel that since the petition does not raise the issue of the invalidity of the taxbill and that issue first is tendered by .plaintiff in his reply, it must follow that the cause of action for which plaintiff recovered judgment is not the same cause pleaded in the petition and was not brought into the case in the proper manner.
*669It is a fundamental rule of pleading that a plaintiff must recover, if at all, on the cause pleaded in his petition and on no other cause. He is not allowed to draw his adversary’s fire and then shift his position in the reply by bringing forth a new cause of action. The reply is a purely defensive pleading and its sole office is to interpose a defense to new matter pleaded in the answer. [Rhodes v. Land & Lumber Co., 105 Mo. App. 279.] Thus in a law case if the answer pleads an affirmative defense or seeks to enforce a cause of action, asserted by the defendant against the plaintiff as in a counterclaim, the function of the reply is to controvert such affirmative defense or counterclaim and in an equity case the only office it may perform is to oppose an affirmative defense or cross-bill. In neither class of cases will the reply be suffered to usurp the functions of the petition.
But we do not think plaintiff’s case falls under the ban of the rule. Grant that the real purpose of the suit was to obtain the cancellation of a lien procured by fraud, we do not understand that plaintiff had no other remedy than an action iu equity to cancel and set aside the pretended lien.
“The statute,” says the Supreme Court in Ball v. Woolfolk, 175 Mo. 278, “is highly remedial and beneficial in its purposes, and supplements the old equitable remedy to remove a cloud from title and is much more comprehensive in its scope. It lies against ‘any person having or claiming to have any title or interest in such property’ and is broad enough to include a future or contingent interest.-’ ’ And of course is broad enough to include any sort of a lien on real property such as a mortgage lien, a mechanic’s lien, or the lien of a special taxbill.
“The object of the statute is to allow a person who claims any estate in the land either in possession or expectancy, without waiting to have his rights tres*670passed upon, to call anyone who claims an adverse interest into court to declare his claim, to the end that the court may then settle the title as between them.” [Huff v. Land & Imp. Co., 157 Mo. 65.]
And it is held in that case that a petition that alleges title in plaintiff, that defendant claims some adverse title and prays the court to ascertain and determine the title states a good cause of action. Under this rule plaintiff’s petition stated a good cause of action and being good Avhen filed could not he made bad by the answer of defendant. The allegation in the answer of the right in defendant to a lien against the property coupled with a prayer for the foreclosure of the lien was the pleading of new matter — an assertion of a right to affirmative relief and the attack in the reply on this asserted right was purely defensive and in no sense the pleading of a new cause.
Passing to the merits of the case we shall dispose of the points raised by defendant by saying that all of them were considered and ruled adversely to the position of defendant in the recent decision of this court in Rider v. Parker-Washington Co., 144 Ma. App. 67.
The granting of secret rebates to some of the owners, whose property would be assessed, for the purpose of destroying opposition to the proposed improvement and thereby to enable defendant to procure the contract from the city was a fraud on plaintiff and the other innocent property owners of a character to vitiate the whole assessment. We refer to our opinion in the Rider case for a more comprehensive expression of the views we entertain on this subject.
The judgment is affirmed.
All concur.