( King v Pelkofski, 20 NY2d 326; see Surace v Stewart, 58 AD3d 715; Bank One v Mon Leang Mui, 38 AD3d 809; Roth v Porush, 281 AD2d 612; Pawling Sav. Bank v Hunt Props., 225 AD2d 678).
The beneficiary of equitable subrogation obtains a lien superior to that of an undisclosed mortgage (12 Warren's Weed NY Real Property, ยง128.16). The doctrine does not apply where the mortgagee had knowledge of the intervening lienor (R.C.P.S. Assoc. v Karam Developers, 238 AD2d 492, 493 [2d Dept. 1997]; and see Roth v Porush, 281 A.D.2d 612, 614 [2d Dept 2001]). US Bank presents no evidence that EquiCredit paid the senior encumbrance without knowledge of GMAC's intervening mortgage.