On January 21, 1894, the Ware Tobacco Works, a corporation organized under the laws of this state, ordered from plaintiff 10,000 cigars, for the price of $500, to be paid for in four months. On March 8, plaintiff shipped the cigars from Boyertown, Pennsylvania, to the Tobacco Works at St. Paul, Minnesota, where it received them on March 23. On the next day, March 24, 1894, it made a deed of assignment to the defendant, for the benefit of its creditors, under the insolvency law of 1881,2 which deed was filed March 27; and the assignee then qualified and entered on the discharge of his duties. This is an action of replevin, brought to recover possession of 9,500 of the cigars in the hands of the assignee. On the trial before the court, without a jury, the court found for defendant. From an order denying a new trial, plaintiff appeals.
Appellant sought to recover on two' grounds:
1. One of the grounds on which he sought to recover is that, when the tobacco works purchased the cigars, it was insolvent, knew itself to be insolvent, and purchased with intent not to pay for the cigars. Outside of the facts above stated, the only evidence offered by appellant on the trial to prove such insolvency was Exhibit E, “the schedule filed in the matter of the assignment of the Ware Tobacco Works,” and Exhibit F, being the book of its “sales account.” These were received subject to the objection of *465defendant. Thereupon plaintiff rested, and the settled case then states: “Upon the trial of the case, the court, without objection by plaintiff, struck out the evidence intro'duced by plaintiff to show insolvency, including plaintiff’s Exhibits E and F.” Whether this evidence, or any of it, was properly stricken out, is a question that is not before us. But see Hahn v. Penney, 60 Minn. 487, 62 N. W. 1129. With all the evidence as to insolvency stricken out, it is hard to see how appellant could recover on this ground.
2. The other ground on which he sought to recover is that, under its articles of incorporation, the tobacco works had no authority to purchase cigars; that its attempted purchase was ultra vires, and punishable under G-. S. 1894, § 2793, as a “diversion of corporate property to other objects than those specified in the articles.” Whether this statute has any application to such a purchaser as this it is unnecessary to consider. This plea of illegality is a shield, not a sword; a defense, not a ground for affirmative relief. If the transaction was illegal, the law simply leaves the parties where it finds them. By its articles of incorporation, the general nature of the business of the tobacco works is “the manufacture of tobacco.” Conceding that the contract of purchase in this case was ultra vires, and, while executory on both sides, void, still, as the tobacco works retained the goods purchased, it was estopped from denying its liability to pay for them. Central B. & L. Assn. v. Lampson, 60 Minn. 422, 62 N. W. 544. Of course, if the tobacco works is estopped, so is its assignee. It therefore follows that appellant is not injured by the ultra vires character of the transaction, and is not at liberty to rescind.
This disposes of the case, and renders it unnecessary to consider the effect of the filing with the assignee, and allowance, of appellant’s claim for the price of the cigars, and his failure to have such allowance set aside, and to withdraw the claim, after he discovered the alleged fraud in the purchase of the goods.
Order affirmed.
Laws 1881, c. 148.