The demurrer for improper joinder of causes of action is well taken. As many as two causes of action are distinctly stated: one against S. Y. R. Johnson and A. B. Johnson, to set aside or annul a written contract of sale, or assignment of certain demands of the plaintiffs’ intestate against the defendant Sandford, on the ground that such contract was procured to be made to A. B. Johnson for the benefit of S. Y. R. Johnson by the fraudulent representations of the latter; another, for an accounting by S. Y. R. Johnson and Meddick as assignees of Sandford for the benefit of his creditors, as well as of the property received and realized by them, as of what they might have realized “if they had done their full duty,” and dischaiged their trust “with due care.” These two causes of action are not such as may be united under section 167 of the Code.
They do not belong to the first class defined by that section. They do not arise out of the same transaction, nor can they in any proper sense be said to arise out of transactions connected with the same subject of action. The former arises out of a fraud perpetrated by one of the defendants in a purely individual capacity; the latter out of the acts, doings and omissions of two of the defendants as assignees of a third.
McDonald & Rose, for appellants,cited Palen v. Bushnell, 46 Barb. 24; Richtmyer v. Richtmyer, 50 id. 55; Jessop v. Miller, 1 Keyes, 321; Code, § 167; Story’s Eq. Pl., § 539; Lawrence v. Bank of Republic, 35 N. Y. 320.
Charles A. Hawley, for respondents.Present—Mullís", P. J., E. Dabwis" Smith and Gilbert, JJ.
The same statement shows that the two causes of action do not belong to the seventh class defined by the section referred to ; and it will not be contended that they both belong to either of the remaining classes.
But beside the requirement that causes of action to be united must belong to one or the other of the classes above referred to, the same section requires that they be such as affect all the parties to the action. This requirement is plainly violated by the complaint under consideration. The cause of action first mentioned does not in any manner affect either of the defendants, Meddick or Sandford, nor does the latter in any manner affect the defendant A. B. Johnson.
The demurrer for improper joinder of causes of action must therefore be'allowed.
Gilbert, J.It is evident that unless the plaintiffs are entitled, upon the facts stated in the complaint, to have the sale of the claim of their intestate against Sandford avoided, they have failed to set forth a cause of action against any, or either of the defendants. For if the contract of sale is upheld, the title of such claim remains in the purchaser, and there is no cause of action against him or his father; consequently they are not creditors of Sandford and have no standing in court to call his assignees to account. The rule as to the remedies of a person who has been defrauded is firmly established, and we presume is familiar to counsel. He has an election either to affirm the contract and to sue for the damages occasioned by the fraud, or to disaffirm the contract, and to sue for the recovery back of whatever has been received upon the contract by the other party. But he can pursue the latter remedy only on condition that he has restored, or offered to restore, all that he himself has received upon the contract.
*651The plaintiffs in this action seek to rescind the contract of sale to Johnson of their demand against Sandford ; hut there is no averment in the complaint that they have restored, or offered to restore, the purchase-money therefor. This is a fatal defect.
We think also that the objection of a misjoinder of causes of action is a good one for the reason stated in the opinion delivered at special term.
The order appealed from must be affirmed, with costs, with leave to the plaintiff to amend, in twenty days, on payment of costs.
Order affirmed.