
    John K. Hauff, Respondent, v Elaine Listemann et al., Appellants.
    [875 NYS2d 813]—
   an action, inter alia, to impose a constructive trust on real property, the defendants appeal from an order of the Supreme Court, Dutchess County (Dolan, J.), dated July 14, 2008, which denied that branch of their motion which was pursuant to CPLR 3211 (a) (7) to dismiss the complaint.

Ordered that the order is affirmed, without costs or disbursements.

On a motion to dismiss pursuant to CPLR 3211 (a) (7), the complaint must be afforded a liberal construction, the facts therein must be accepted as true, and the plaintiff must be accorded the benefit of every favorable inference (see Leon v Martinez, 84 NY2d 83, 87-88 [1994]). The court’s function on such a motion is only to determine whether the facts as alleged fit within any cognizable legal theory (see Leon v Martinez, 84 NY2d at 87-88).

Applying these principles, the Supreme Court correctly denied that branch of the defendants’ motion which was pursuant to CPLR 3211 (a) (7) to dismiss the complaint. Mastro, J.P., Covello, Eng and Leventhal, JJ., concur.  