Ordered that the order is affirmed insofar as appealed from, with costs.
Contrary to the plaintiffs contention, the Supreme Court properly granted that branch of the defendant's motion which was, in effect, to dismiss the complaint pursuant to CPLR 3211 (a) (1). A motion to dismiss a complaint pursuant to CPLR 3211 (a) (1) may be appropriately granted where documentary evidence utterly refutes the plaintiffs factual allegations, thereby conclusively establishing a defense as a matter of law ( see Goshen v Mutual Life Ins. Co. of N.Y., 98 NY2d 314, 326; Leon v Martinez, 84 NY2d 83, 88; Zeld Assoc., Inc. v Marcario, 57 AD3d 660; McMorrow v Dime Sav. Bank of Williamsburgh, 48 AD3d 646, 647). Here, documentary evidence consisting of a transcript of an open-court stipulation, and a settlement agreement executed by the parties, refuted the plaintiffs claim that she was entitled to a first mortgage on the subject property to secure an obligation owed by her late father's estate. Although the open-court stipulation and settlement agreement required the defendant executor to provide security for the estate's obligation to the plaintiff, they also afforded the executor the discretion to determine the form of security that the plaintiff is to receive. Since the documentary evidence demonstrated that the parties did not unequivocally intend that the subject property serve as security for the estate's obligation to the plaintiff, with priority over all other mortgages and liens, the plaintiff was not entitled to the imposition of an equitable mortgage holding such priority ( see Tornatore v Bruno, 12 AD3d 1115, 1117; Mailloux v Spuck, 87 AD2d 736, 737).
The plaintiffs remaining contention is without merit.