delivered the opinion of the court:
This action was begun by plaintiff, James A. Murphy, filing a petition in the circuit court of Cook county praying that a writ of mandamus be awarded against the defendants, the city of Park Ridge, its mayor, city clerk and six aldermen, commanding them to at once proceed to cause to be collected certain unpaid installments of a special assessment against private property, aggregating $3766.98, assessed and confirmed in special assessment No. 29 in the village (now city) of Park Ridge, and to include in the appropriation bills and tax levy ordinances for each of the years 1919, 1920 and 1921 an item of $725.26, being a third of the several sums, with interest thereon, levied, assessed and confirmed against the village in said assessment proceeding.
The assessment was spread and confirmed under a petition and ordinance for a local improvement to be made, to be paid for in part by special assessment against private property and in part by general taxation. The proceedings were had and the assessment confirmed in 1894. The special assessment was divided into seven installments, the first payable from and after the confirmation and the remaining installments payable annually thereafter, with interest at six per cent. Bonds were issued to anticipate the collection of the second and succeeding installments. The first five installments were paid. The sixth and seventh installments, according to the petition, have never been paid, and the petitioner alleges he is the owner, by assignment, of six bonds for $500 each and two bonds for $100 each, all dated September 20, 1894, drawing six per cent interest per annum, and all are unpaid. The petition also alleges that the plaintiff is the owner of a certain warrant, No. 21 of installment No. 6, issued by said village September 24, 1894, for $213.19; that the village has failed and neglected to collect certain assessments, amounting to $3766.98, exclusive of interest, levied against private property in said special assessment proceeding, by reason whereof petitioner has not been paid the amounts due him on said bonds and warrant.
Defendants demurred to the petition. The demurrer was overruled and they answered. The answer was divided into paragraphs or pleas numbered from 1 to 12. The first and second paragraphs were admissions of certain formal allegations of the petition, and each of the other paragraphs sets up different defenses to the awarding of the writ. Paragraph 4 denied the assessments and public benefits were still due and unpaid. Paragraph 5 denied the truth of certain allegations in paragraph 4 of the petition. Plaintiff filed replications to the fourth and fifth paragraphs and demurred to the remaining paragraphs of the answer. The demurrer was sustained and leave granted defendants to amend within ten days. They filed an amendment to paragraphs 10 and 12 of the answer but no amendment was made to the other paragraphs. A demurrer was sustained to amended paragraphs 10 and 12 and leave again given to amend. The amendment then made was of paragraph 12, only, and on demurrer being sustained to that paragraph as amended, defendants declined to answer further. The case was then heard by a jury on the issues joined on the fourth and fifth paragraphs of the answer. Plaintiff made proof that he was the owner of the bonds and warrant mentioned in the petition and that they were still due and unpaid. Defendants offered no evidence. The court directed a verdict for plaintiff, rendered judgment thereon awarding the writ, and defendants appealed to the Appellate Court for the First District. Pending the appeal in the Appellate Court the death of Murphy was suggested, and the First Trust and Savings Bank, his executor, was substituted as appellee. The Appellate Court affirmed the judgment and granted a certificate of importance and an appeal to this court.
Many questions are argued in the briefs on both sides, but in our view it will only be necessary to discuss two of them.
By the eleventh paragraph of the answer defendants set up as a defense to the issuing of the writ that no demand for the performance of the alleged duties sought to be enforced was made on defendants prior to the commencement of the suit. Upon the sustaining of the demurrer to that paragraph it was not amended. If a demand and refusal were necessary to authorize the filing of the petition it should properly have been alleged, and the sufficiency of the petition was raised by the demurrer to it.
It is contended by plaintiff that if demand and refusal were necessary, defendants, by answering after their demurrer was overruled, waived the right to assign error on the ruling of the court upon that question. The rule is, that where a party desires to have a review of the order of a trial court overruling a demurrer he must abide by the demurrer, and if he pleads over he waives the demurrer. (Heimberger v. Elliot Switch Co.
In People v. Town of Oran,
In People v. Village of Hyde Park,
In People v. Town of Mount Morris,
The general rule is, that before applying for the writ of mandamus demand should be made on defendant to perform the particular act or duty and a refusal to comply therewith, but that rule does not apply where the duty is a public one, affecting the public at large. (People v. Green,
The petitioner contends it sufficiently appears that a demand would have been futile, and in such cases the law does not require a demand. We do not think such an inference warranted by the allegations of the petition. The substance of the averments is, that the bonds and warrant held by petitioner are due and no steps had been taken to collect the remaining installments of the special assessment and to levy and collect a fund to pay the public benefits assessed against the municipality. We may also observe that the eleventh paragraph of the answer, to which the court sustained a demurrer, set up that in 1899, when ■the county collector applied for judgment against delinquent property for the assessment, including property of petitioner, he filed written objections that the judgment confirming the assessment was void, and the county court sustained the objections, which judgment has never been set aside or reversed, and ever since the officers of the municipality and all property owners have treated the assessment as void and unenforcible. If petitioner was in any way responsible for the failure of the proper officers to act he should have made demand before filing his petition; but, independently of that question, the petition shows nothing more than a failure or neglect to act and not that a demand for action would have been useless and of no avail. Petitioner having by his silence acquiesced in the failure to collect the assessment for so great a number of years, it was required that he make demand.
After the demurrer to the petition was overruled, defendants by paragraph 7 of the answer pleaded laches as a defense, and by paragraph 8 of thé ten-year Statute of Limitations, to each of which the court sustained a demurrer. We are of opinion the plea of laches was not good. The ten-year Statute of Limitations applies to actions on written evidences of indebtedness. All actions mentioned in section 15, and all civil actions not otherwise provided for, are barred in five years after the cause of action accrues. This was not a suit on the bonds and warrant but was an action to compel defendants to proceed to collect the assessments already levied and to levy and collect a tax to pay the city’s portion assessed as public benefits. The .only Statute of Limitations, if any was applicable, was the five-year limitation. We are of opinion the court properly sustained the demurrer to the plea of the ten-year statute.
But it is insisted that five years were embraced in the plea of the ten-year statute; that it was unnecessary to set out the statute in hcec verba, and the right to rely on the five-year statute was not lost by pleading the ten-year statute. A defendant is required to plead with certainty the statute relied on. The court is entitled to know what statute he relies on, so that it may rule on the defense interposed. A defendant cannot interpose one defense and rely on an entirely different defense. In the state of this record the question whether the five-year limitation statute could have been pleaded is not preserved for review, as after the demurrer was overruled only the ten-year statute was pleaded, and to that the court properly sustained the demurrer.
For the reasons indicated the judgment is reversed and the cause remanded.
Reversed and remanded'.
