Definitions of subrogation
the legal right that a person or business has when they pay someone's debt to get that money from the debtor (=the person who owes the debt)
The guarantor (=person guaranteeing something) exercised its right of subrogation against the borrower (=person borrowing money).