This is an action by the assignee in bankruptcy of the Farmer’s and Mechanics’ Bank of Bochester, an insolvent banking association organized under the general banking act of this State, passed in 1838, to recover the sum of $400, which was paid by said bank to Joseph Field, the defendant’s testator, a stockholder of such assoeiaHtiow, as a dividend upon his stock. The facts upon which the plaintiff puts his right to recover are, that at the time when the dividend was made, the bank had earned no profits out of which a ^ dividend could be made, and was, in fact, insolvent. These facts were conceded at the trial, by a stipulation between'the parties, and it was also conceded that such condition of the bank was unknown to the testator, Field, (unless he is chargeable in law with such knowledge by reason of his position as stockholder), and that he received his dividend in good faith, supposing it had been earned. Also, that the officers of the bank were not then aware of its insolvent condition, unless chargeable in law with such knowledge by reason of their position as officers of the bank. The plaintiff was nonsuited in the court below.
The appellant contends that he has the right to reach the money in the hands of the defendants as a part of the assets of the bank applicable to the payment of its debts, upon the principle that the assets of a corporation are a trust fund for the payment of its debts, and its creditors have a lien thereon, and the right to priority of payment over its stockholders. But the lien of creditors of an insolvent corporation upon its assets in the hands of others (independently 'of rights given by statute), is a purely equitable lien, and can only be enforced in , an equitable proceeding. The cases of *315Bartlett v. Drew (57 N. Y., 587), Osgood v. Laytin, (3 Keyes, 521), and Van Cott v. Van Brunt (2 Abb. N. C., 288), cited by the appellant, were actions in equity. In the case of Bartlett, the action was in the nature of a creditor’s bill, brought by a single judgment creditor, after the return of- an execution unsatisfied, to reach a sum received by a stockholder of a corporation, on a division of its assets before all its debts were paid. The action could not have been maintained if there had been an adequate remedy at law. The present action is what would have been termed an action for money had and received, under the system of pleading which was superseded by the Oodfe of Procedure. The only relief sought is the recovery of the specific sum of money which was paid by the bank to the defendant’s testator. The difficulty in the way of recovering it in a strictly legal action is that, as between the bank and the stockholder, the payment was made in good faith, according to the conceded facts, and the stockholder acquired a valid title to the money, as against the bank. A'court of law cannot go beyond the parties to the transaction, and treat the payee as the recipient of moneys in trust for the benefit of the creditors of the bank. It is not alleged in the complaint, nor does .the scope of the action permit an inquiry, as to whether the firedi-tors represented by the assignee were creditors at the time of the transaction ; and if not, they have no interest in the money sought to be recovered. The inadequacy of a court of law to give relief in such a case was. forcibly commented on in Vose v. Grant (15 Mass., 505), and Spear v. Grant (16 Id., 9). See the opinion of Reynolds, C., in Bartlett v. Drew, supra, 590.
We axe not aware of any statute upon which the present action can be maintained. It was held by the Court of Appeals in Leavitt v Blatchford (17 N. Y., 521), that the provisions of the Revised Statutes relating to moneyed corporations do not apply to banking associations organized under the general banking law of 1838 (Op. of Harris, J., p. 535). The several statutes cited by the appellant’s counsel are within that category, and do not apply to the case. They are 1 R. S., 589, § 1; Id., 598, § 51; Id., 601, § 2. The case of Casserly v. Manners (9 Hun, 695), cited by the appellant’s counsel, was that of a fire insurance company, organized under the *316general act for the incorporation of insurance companies (Laws of 1849, ch. 308), the seventeenth section of which provides that all companies formed under the act shall be deemed bodies corporate, and shall be subject to all the provisions of the Revised Statutes m relation to corporations, so far as they are applicable.
On the whole, we are of the opinion that the case was properly disposed of in the Oounty Court, and that the judgment should be affirmed.
Talcott, P. J., and Hardin, J., concurred.Judgment affirmed.