The reversal of the assessment and the setting it aside as illegal and void, is conclusive that the money obtained upon it by the defendant was got from the plaintiff without primary right. In such case the general rule is, that the money
ex cequo et bono
belongs to the plaintiff, and is held by the defendant for his use. The law raises an obligation on the part of him who has received the benefit of it to make restitution. It is upon this principle, that an action is maintainable to recover back money collected in satisfaction of an erroneous judgment which has been reversed after payment made.
(Bank of U. S.
v.
Bank of Washington,
There is no clashing here with the case of
The N. Y. & H. R. R. Co.
v.
Marsh
(
It follows that the complaint was erroneously dismissed at the trial, and the judgment should be reversed.
All concur.
Judgment reversed.
