delivered the Opinion of the Court.
The only question we shall notice in this case is, whether, after one of several principal obligors in a judgment shall, without coercion, have advanced the amount thereof to the creditor, upon an express agreement between them that the advance shall not be considered a payment in satisfaction of the judgment, but that the par. ty who made it shall have a right to issue execution thereon against himself and co-defendants, and control the same, he is entitled to such' an equitable subrogation as *85to authorize a court of law, upon proof of these facts, to overrule a motion by the judgment creditor, to quash an execution issued ('without his consent át the time of emana, tion) at the instance of the party claiming substitution?
A surety advancing the amount of a judgments theplaintiff may stipulate for substitution, and for the control of the judgment and execution against Ms principal and a Court of law will protect Mm therein. A joint obligor may properly advance theamount of ajudgment vs himself and another, and contract with the creditor for the control of the execution, and will be .therein protected by a Court of law, until he is reimbursedhis proportion, in opposition to the wish of the creditor. Turner for plaintiff; Hanson for defendants.Had the party making the advance been shown- to be a surety merely, although a simple payment by him without proof of any special agreement, would necessarily operate as an extinguishment, yet he would have had a right, upon making a voluntary advance of the money, to stipulate expressly with the creditor for substitution, and then the payment should have been considered as merely the consideration of that equitable transfer, and not as a satisfaction of the judgment, which would frustrate the object of the parties. And in such a case, a Court of law would not permit the judgment creditor to control an execution on the judgment,- issued at the instance and for the benefit of the surety. This is according to a principle of the civil law and of universal equity, which has been more than once recognized by this Court.
Does not the reason of the same equitable doctrine equally apply, to some extent, to a party who is bound as a co-principal? We cannot perceive why it does not. If he be legally bound in the first instance, to pay the whole debt, so is the surety. The only difference between them is that a payment by one entitles him to restitution of the whole, and a payment by the other entitles him to a reimbursement of only a part of what he paid. This only difference should not, in our judgment, essentially affect the question we are considering in this case. Its only effect should be to prevent the substituted party, if he be one of several principal obligors, from enforcing the execution against his associates for his own aliquot portion of the joint debt. To that extent he is, in equity, as well as in technical law, principal as between himself and his co-obligors; but beyond it he is, as between themselves in equity, only a surety.
It, therefore, seems-to us that the Circuit Judge did not err.in this case, in overruling the judgment creditor’s motion to quash the execution, and consequently, the judgment must be affirmed.