delivered the opinion of the court.
It is contended that by consenting to the operation of the street railway so far as it was built, and by receiving the license fees and percentage of receipts, the city accepted the partial performance of the company, waived the right to retain the $2,500 and could only recoup any damages, it may have suffered from the failure of the railway company to construct the unbuilt portion of the railway.
It is no doubt true that a city can by its acts waive the right reserved in an ordinance of forfeiting the franchise. It has not, however, sought in this case to forfeit the franchise, and no question of that kind is before ns. In Wiley v. Athol, 150 Mass. 426-435, cited by appellant’s counsel, it was held that the “guaranty” of an aqueduct company tq furnish “a supply of water sufficient to run eight hydrants at the same time and throw full streams of water over the highest building* in either village in said town, during* said term” might be considered as defining what would constitute a full and ample supply of water, and “was in its nature a continuing precedent the performance of which was necessary to enable the plaintiff to recover” the price agreed to be paid for the use of the hydrants; hut that while the “conditions precedent must be performed and a partial performance is not sufficient, yet when a contract has been performed in substantial part and the other party has voluntarily accepted and received the benefit of the part performance, knowing that the contract was not being* fully performed, the latter may thereby be precluded from relying upon the performance of the residue as a condition precedent to Ms liability to pay for what he has received and may be compelled to rely upon Ms claim for damages in respect of the defective performance.” It is further said that performance must he of a substantial part of the contract and that the acceptance must be under such circumstances as to *243show that the party accepting knew or ought to have known that the contract was not being fully performed. The case is authority for the contention that the guaranty under the facts of that case must bé treated as in effect an independent agreement, for the breach of which damages might be recouped. See also Palmer v. Meriden Britannia Co., 88 Ill. App. 485-488; Idem, 188 Ill. 508-523, and cases there cited; Waterworks Co. v. Joplin, 177 Mo. 496; Sykes v. City of St. Cloud, 60 Minn. 442.
If, however, it be conceded that having consented to the operation of the railway upon part of the streets named in the ordinance and accepted payment of the license fees and percentage of receipts provided for, the city might be deemed precluded from forfeiting the franchise or contract with the railway company, it by no means follows that the city is not entitled to retain as damages the sum deposited, which by the ordinance it was provided it should “retain as agreed and liquidated damages in case of the failure” of the railway company to complete said road within the time limited. That it may have' suffered damage is clear. The failure to construct and operate the railway in the remaining streets might very well have lessened the percentage of receipts to which the city was entitled. The principle stated in the cases above referred to, to the effect that in event of failure to perform the contract the party injured may be compelled to rely upon his claim for damages in respect to the defective performance, is in point. That is just what appellee is apparently doing, asserting its claim to the agreed and liquidated damages as provided in the contract. The sum is not extravagantly large and the damages actually suffered would be difficult to ascertain with certainty. No reason appears why the sum fixed by the parties themselves as proper damages for the specific default mentioned, the failure to complete the road, should not be deemed a conclusive determination of the damages for that default. *244Had there been an entire failure to comply with the contract by the railway company the city might, if damaged beyond the sum in controversy, have sought indemnity under the penal bond of $20,000. This it has not, so far as appears, attempted.
No error appearing, the judgment of the Superior Court will be affirmed.
Affirmed.