¶1The appellant demurs to plaintiff’s complaint on the ground that it fails to state facts sufficient to constitute a cause of action. This was overruled.
¶2In determining the correctness of this ruling and the sufficiency of this pleading, the " whole complaint must be considered.
¶3This is not an action for damages by reason of any breach of a covenant in the lease, but for damages by reason of a breach of the agreement which induced the making of the lease, to wit: That the defendant, knowing the premises were untenantable and uninhabitable, would put the same in proper condition; that, believing and relying on such representations and promise, the plaintiff was induced to and did make, accept and enter into and under such lease, and paid ' and continued to pay rent until July, relying on the promises of the defendant to do as he agreed to do.
¶4The consideration for such work was the taking of the lease. See Cartledge v. Crespo, 5 Misc. Rep. 349-351; Reynolds v. Robinson, 110 N. Y. 654.
¶5We think the complaint, while not drawn in the most artistic manner, yet,' when taken as a whole, fairly states a cause of action, and that the demurrer was properly overruled.
¶6The defendant in our opinion has misunderstood the cause of action set forth in the complaint.
¶7The order overruling demurrer should be affirmed, with leave, however, to the defendant to answer within ten days on payment of the costs of appeal.
¶8Yah Wyok and Rewburger, JJ., concur.
¶9Order affirmed, with leave to amend on payment of costs.