Plaintiff is an incorporated village and the defendant company is a foreign corporation authorized to engage in this State *308in the business of executing indemnity, or surety, bonds, and acting as surety. May 1, 1907, defendants Dingledine and Patten made a written contract with plaintiff to build and construct a designated part of its sewer system for the sum of $37,347.50. The contractors a few days after the contract was signed began work under the contract. As required by the contract they thereafter furnished a bond, executed by themselves as principals and the defendant Title Guaranty and Surety Company as surety, to the plaintiff, as obligee therein, in the penal sum of $18,673.75, conditioned for the full and faithful performance and fulfillment by the said principals of the said contract and also to save the plaintiff and its board of sewer commissioners harmless from any and all damages in any way resulting from or growing out of the performance and fulfillment of the contract by the principals named in said bond.
Plaintiff in its complaint alleges that it has been damaged to an amount beyond, the penalty of the bond by reason of the failure of defendant contractors to fully perform and complete then contract and demands judgment against each defendant for the full amount of the bond. The referee directed judgment dismissing the complaint upon the merits, with costs. Defendant surety company caused a separate judgment in its favor to be entered dismissing the complaint as to it, with costs; and it is from this judgment that this appeal is taken.
There is little dispute as to the facts, and the case presents only so much of the evidence as relates to two findings of fact,' to which exception was taken by plaintiff. Plaintiff at all times in making the contract, in overseeing its performance and directing the payments made by plaintiff thereon, acted by its board of sewer commissioners. • Their authority to so act and represent the plaintiff as its officers for that purpose is not questioned. One of the findings to which exception is taken is to the effect that during all the time the contractors were engaged in the work upon the contract plaintiff’s officers, i. e., its sewer commissioners,' were aware that the contractors employed their men in the contract work ten hours each working day. The preceding finding that the contractors during the. whole period of their performance of the work under the contract employed substantially all the men worked thereon *309ten hours each working day was not excepted to, and is amply sustained by the evidence. Plaintiff claims that the evidence fails to show that the board of sewer commissioners as a board had such knowledge, and also that the board as a board took no action indicating a recognition of that fact. But the evidence clearly shows that from the very beginning of the work at least three of the five members comprising the board had actual and continuing knowledge of the fact. Cleary, its president, testifies to the fact that he was over the work practically every day, and gives the hours when the men began and quit work on the sewer, showing that they worked ten hours a day. Mead, another commissioner, was plaintiff’s inspector of the work, and says: “ I * * * was on the job there at work practically every day.” Stork, another member of the board until some time after August twelfth, was during this time employed by the contractors as a foreman on the work. Cosgrove, who succeeded Stork as commissioner, lived on one of the streets in which the sewer was built, and passed back and forth on that street every day during the progress of the work. The evidence is ample to show that plaintiff through its officers had actual notice of the fact that the contractors’ men were worked ten hours a day on the job. It is unnecessary, as plaintiff’s counsel seems to claim, that before plaintiff can be found chargeable with notice of the fact it must appear that its board of sewer, commissioners should by resolution declare they had such notice. The other finding of fact to which exception is taken is immaterial in view of the disposition of the case made by the referee.
The learned referee has found that the contractors violated the provisions of section 3 of the Labor Law (Gen. Laws, chap. 32 [Laws of 1897, chap. 415], as amd. by Laws of 1906, chap. 506; now Consol. Laws, chap. 31 [Laws of 1909, chap. 36], as amd. by Laws of 1909, chap. 292) by continuously working the men employed on this contract more than eight hours a day, with the full knowledge of plaintiff, although there was no “ extraordinary emergency caused by fire, flood or danger to life or property.” Under. these circumstances, as the section further provides, the contractors were not entitled to receive, nor the plaintiff to pay, nor authorize the payment *310of, any sum for work done upon this contract, for the reason that “in its manner * * * of performance ” the provision of the section was violated. As the referee says in his opinion: “ It [the statute] expressly prevented any claim from accruing in favor of the contractor who worked his men over eight hours per day. It not only forbade payment, but it prevented the debt from ever existing.” Payments were made by plaintiff to the contractors, aggregating upwards of $29,000. By no possible computation of damages could plaintiff show it had suffered to that amount by reason óf any act or default of the contractors in failing to complete the contract according to its terms. The payments made were, at least as to the surety company, mere gratuities, because no valid claim under the contract ever matured in behalf of the contractors, and plaintiff was expressly prohibited by the statute from making any payment on account thereof. The agreement of the surety company found in the bond did not, either in form, or substance, make its relation to plaintiff that of a security for damages accruing solely by reason- of plaintiff’s acts, which it was expressly prohibited by the statute from doing, or permitting. The referee satisfactorily sums up the argument on this point as follows: “When it [the plaintiff] did pay for the work it assumed an obligation which did not exist. Whatever its remedy was, it could not pay for such work in violation of the statutory prohibition and then in its action for breach of the bond assert this payment as a part of the expense of the work to it.”
. Plaintiff, however, insists that this provision of the statute which would have precluded the contractors from enforcing against it their claims under the contract was solely for the benefit of plaintiff, and might furnish a defense, which it alone could urge, and which could, therefore, be waived by it. But in asserting this position the equally mandatory provision prohibiting it' from paying or permitting payment of the claims is overlooked. As the referee suggests, a valid waiver of the provisions of the statute could not in this case be established “ without in effect holding that a municipal corporation and a contractor by mutual action might abrogate the provisions of the statute and create a valid obligation of the municipality to pay for what' the law forbade payment to be made.”
*311But it may be claimed that the contractors would have been entitled to recover of plaintiff for the work done upon the principle of a recovery quantum meruit, and payment of the amounts made by plaintiff may be considered as made upon that basis, and for that reason held valid. It is difficult to see how a contractor having a contract with a municipality, which he agrees to perform, and the performance of which in the manner prescribed by this section of the Labor Law alone gives him a right to compensation for work done, can, even with the consent of the municipality, treat the contract as abandoned and recover for the value of the services actually rendered. If that could be done, then, as was said above in regard to a waiver, the statute could be readily made of no effect. Besides, so far as the liability of the surety company is concerned, that is by the terms of the bond limited to such damages as arise from a non-fulfillment of the contract plaintiff had with the contractors, not such damages as might occur in the event the contract is to be treated as mutually abandoned by the parties thereto, without its knowledge or consent.
That this section of the Labor Law and the method of its enforcement therein provided are constitutional was decided in People ex rel. Williams Eng. & Con. Co. v. Metz (193 N: Y. 148). Referring to the opinion then delivered we find (p. 159) this expression of the court’s decision: “ Our conclusion upon this branch of the case is that in view of the history of the amendment in question and the causes which led to it the Legislature now has power and had when the present Labor Law was enacted to fix and regulate the hours of labor on public work by limiting them to eight hours in one calendar day and to provide that when that limit is exceeded no officer of State or municipal government shall be permitted to pay therefor from-funds under his official control. ”
Appellant’s counsel insists that the referee’s decision was based upon an issue not tendered by the answer, because defendant did not in terms plead that the payments made by plaintiff to the contractors were prohibited by the statute. But to establish its case plaintiff was required both to allege and prove payment by it to the contractors of the sums in question. These payments were put in issue by the general denial in the *312answer of the surety company. Not. only the fact that the payments were made but also their validity and legality as payments were thus put in issue. The authorities amply sustain the referee in his conclusion that, “Under a general denial in an action on contract, defendant may controvert by evidence anything which plaintiff is bound to prove in the first instance to make out his cause of action, or anything he is permitted to prove for that purpose.”
The presiding justice in his opinion, handed down herewith, takes the position that the contract between the village and the contractors, though it did not in fact contain the stipulations required by the statute, must yet be read, construed and treated as though they had in fact been written in it. Assuming this view is correct, the contract would then have provided expressly that it “shall be void and of no effect unless ” the contractors should comply with the provisions of the section. They did not so comply, as has been pointed out above. Even conceding that plaintiff could waive as to it its right to insist for that reason that the contract was void, and could consent that the contractors might continue their illegal manner of its performance, yet this concerted action by plaintiff and the contractors, of which the surety company had no knowledge, or notice, and to which it was in no way a party, could not alter, or impair, its rights, or enlarge, or change, its obligations as surety. The contract, performance of which it had guaranteed, was one to be performed in accordance with the statutory requirements. When these provisions were with plaintiff’s tacit consent continuously disregarded and violated by the contractors, then, as to the surety company, the contract became and was void, and no liability for non-performance of the contract remained; for, as to it, there was no longer any .contract to which its guaranty of performance could apply.
The judgment should be affirméd, with costs. .
All concurred, except McLennan, P. J., who dissented in an opinion.