This is an action to set aside a special assessment for street paving on the ground of illegality. The plaintiff paid the amount of the assessment to the city treasurer (pursuant to the requirements of sec. 1210h — 1, Stats.)„ and the city treasurer turned over the sum so paid to the^ holder of the special assessment certificate (as required by ch. 203, Laws of 1905). The city by answer set forth this, payment to the certificate, holder as a separate defense and a general demurrer thereto was sustained.
This ruling must be.affirmed. This is not an action for-money had and received, nor is it an action brought under-sec. 1164, Stats., hence the case of Marine Co. v. Milwaukee, 151 Wis. 239, 138 N. W. 640, has no application. It is am action in equity to set aside illegal special assessment certificates and obtain a reassessment. In such an action the* statute specifically provides that if the claim is made that the: tax is invalid because of defects going to the validity of the assessment arid affecting the groundwork of the tax, the plaintiff shall pay the amount levied as a condition of maintaining the action, and in case a reassessment is ordered and the court determines that the amount which the plaintiff ought 'justly to have paid is less than the original assessment the plaintiff shall recover judgment for the difference. Secs. 1210/i — 1 to 12107?, — 4, Stats. 1911. He is entitled to this judgment regardless of the fact that the treasurer has paid over to the certificate holder the amount previously paid in^ hence that fact is entirely' irrelevant. Under these statutes the city is responsible for the illegal portion of the original assessment, not on the ground that it has received money which it ought not in good conscience to keep, but because it
By the Court. — rOrd'er affirmed.