delivered the opinion of the court:
The executor of the will of a deceased city attorney brought suit against the City of Oakbrook Terrace seeking to recover the balance of fees allegedly due under a contract for special legal services. An answer was filed admitting factual allegations but denying that additional sums were owed. It prayed that the court find the agreement to be “invalid as a matter of law.” The court entered judgment on the pleadings in favor of the plaintiff, and the appellate court affirmed. (Huszagh v. City of Oakbrook Terrace,
The complaint alleges that all the services required under the contract ordinance were completed by the end of 1962, that no payments were made after December 20, 1963, and that there remains due and owing “an amount equal to one-third (j/jrd) of the sales tax collections attributable to said parcel annexed in said case, provided, however said sum does not exceed $80,000.00.” An accounting was prayed. The City answered denying that one third of the sales tax collections remained due and owing. The answer stated that the City had paid the sum of $9,327.47 for services rendered from September 12, 1962, to December 31, 1962. It was
In affirming, the judgment the appellate court did not consider on its merits the City’s contention that the contract was illegal. The contention was rejected on the ground that illegality is an affirmative defense which is waived unless specifically raised in the pleadings, and that the City’s prayer that the contract be held invalid was not specific enough. In this we think the court was mistaken. As the City urges here, it is the “facts” of a defense which must be alleged with particularity, not matters of law (see section 43(4) of the Civil Practice Act, Ill. Rev. Stat. 1965, ch. no, par. 43), and the question whether a contract is void as contrary to statute or public policy is one of law. (See Brush v. City of Carbondale,
The City says the simple objective of the agreement was to divert one third of certain sales tax revenues to the plaintiff’s decedent for the period in question, thus depleting the public revenue by one third. And it is urged, inter alia, that the contract violates section 3 — 14—4 of the Revised Cities and Villages Act which provides in part that “No municipal officer shall be interested, directly or indirectly, in any contract, work, or business of the municipality, or in the sale of any article, whenever the expense, price, or consideration of the contract, work, business or sale is paid either from the treasury or by any assessment levied by any statute or ordinance.” (Ill. Rev.
The judgment of the appellate court is reversed and the cause is remaded to the circuit court of Du Page County with directions to enter judgment for defendant.
Reversed and remanded, with directions.
