N.Y. Uniform Commercial Code § 9-618
Section 9--618. Rights and Duties of Certain Secondary Obligors.
(a) Rights and duties of secondary obligor. A secondary obligor acquires the rights and becomes obligated to perform the duties of the secured party after the secondary obligor:
(b) Effect of assignment, transfer, or subrogation. An assignment, transfer, or subrogation described in subsection (a):