
    Raymond Murray, Appellant, v Carol Murray, Respondent.
    [812 NYS2d 378]
   In an action to recover damages for breach of contract, the plaintiff appeals, as limited by his brief, from so much of an order of the Supreme Court, Suffolk County (Cohalan, J.), dated June 16, 2004, as denied his motion for summary judgment and, upon searching the record, awarded summary judgment in favor of the defendant dismissing the complaint.

Ordered that the order is affirmed insofar as appealed from, with costs.

Contrary to the plaintiff’s contention, the Supreme Court properly denied his motion for summary judgment since he failed to establish his prima facie entitlement to such relief (see CPLR 3212).

Although the defendant did not move for summary judgment, the Supreme Court had the authority pursuant to CPLR 3212 (b) to search the record and award summary judgment to a nonmoving party with respect to an issue that was the subject of the motion before the court (see Dunham v Hilco Constr. Co., 89 NY2d 425, 429 [1996]; Goldstein v County of Suffolk, 300 AD2d 441 [2002]; Image Clothing v State Natl. Ins. Co., 291 AD2d 377, 378 [2002]). Under the circumstances of this case, the Supreme Court properly searched the record and awarded summary judgment to the defendant dismissing the complaint. Adams, J.P., Ritter, Mastro and Skelos, JJ., concur.  