A defendant who seeks dismissal of a complaint pursuant to CPLR 3211 (a) (5) on the ground that it is barred by the statute of limitations bears the initial burden of proving, prima facie, that the time in which to sue has expired (see Duran v
However, it was premature for the Supreme Court to determine, as a matter of law, that the continuous representation toll applies. A legal malpractice claim may be tolled by that doctrine only where “the continuing representation pertains specifically to the matter in which the attorney committed the alleged malpractice” (Shumsky v Eisenstein, 96 NY2d 164, 168). The record discloses a factual dispute as to whether the additional services rendered by the defendant between January 14, 1999, and December 16, 1999, constituted an attempt to rectify the alleged malpractice by establishing the validity of the easement which the plaintiffs believed was included in their purchase of the subject property, or whether the services were connected to the plaintiffs’ attempt to secure an expanded easement, and thus did not directly arise out of the original real estate transaction. Because there are factual issues to be resolved regarding whether the continuous representation toll applies, the Supreme Court erred in denying the motion on the ground that, as a matter of law, the three-year statute of limitations was tolled. Krausman, J.P., Goldstein, McGinity and Adams, JJ., concur.