Subrogation
The substitution of another person in place of the creditor, to whose rights he succeeds in relation to the debt. The doctrine is used very often where one person agrees to stand as surety for the performance of a contract by another person.