
    Maurice Taylor, Appellant, v Eddy Curry, Jr., Respondent.
    [966 NYS2d 872]
   In an action, inter alia, to recover damages for breach of contract, the plaintiff appeals from an order of the Supreme Court, Westchester County (Walker, J.), entered January 10, 2012, which granted the defendant’s motion pursuant to CPLR 3211 (a) to dismiss the complaint.

Ordered that the order is reversed, on the law, with costs, and the matter is remitted to the Supreme Court, Westchester County, for a determination on the merits of the defendant’s motion.

The defendant moved to dismiss the complaint pursuant to CPLR 3211 (a) for lack of personal jurisdiction (see CPLR 3211 [a] [8]). However, in the order appealed from, the Supreme Court directed the dismissal of the complaint on the ground that the complaint failed to state a cause of action. The plaintiff appeals.

The plaintiff was prejudiced when the Supreme Court directed the dismissal of the complaint on a ground that was not litigated or raised by the parties (see Greene v Davidson, 210 AD2d 108, 109 [1994]; Matter of Dental Socy. of State of N.Y. v Carey, 92 AD2d 263, 264 [1983], affd 61 NY2d 330 [1984]; see also Matter of Tilcon N.Y., Inc. v Town of Poughkeepsie, 87 AD3d 1148, 1152 [2011]; cf. Tirado v Miller, 75 AD3d 153, 154 [2010]; Schrank v Lederman, 52 AD3d 494, 495 [2008]). Accordingly, the matter must be remitted to the Supreme Court, Westchester County, for a determination on the merits of the defendant’s motion. Rivera, J.P., Dickerson, Leventhal and Hall, JJ., concur.  