Stephen, J.,delivered the opinion of this court.
Under the pleadings in this cause, the court below were clearly wrong in admitting the evidence of the payment made by Baden, after the suit was instituted. Defences arising after the commencement of the action, should be pleaded puis darrein continuance, or against the further maintenance of the suit. Agnew vs. the Bank of Gettysburg, 2 Harr. & Gill, 478. “The rule is, that where matter of defence has arisen after the commencement of the suit, it cannot be pleaded in bar of the action generally; but must, when it has arisen before plea or continuance, be pleaded as to the further maintenance of the suit, and when it has arisen after issue joined, puis darrein continuance. ” See the authorities referred to in 2 Kinne’s Law Com. 476.
The other question decided by the court below was, we think, correctly adjudicated. Upon principles of reason, as well as of sound law, the payment made by Baden to Semmes, as the surety of Naylor, in his official bond as deputy sheriff, did not entitle him to an assignment of the injunction bond upon which that action had been instituted. The bond was given to Semmes by Naylor, long after Baden had contracted his responsibility as the surety of Naylor, and could have con stituted no inducement to his assumption of such liability, as the means of indemnity against loss. The principles of justice and equity, upon which the doctrine of contribution between co-sureties is founded, do not seem to apply to such a case. Their claim certainly has its foundation in the clearest principles, not only of law, but of morals. For where all are equally-bound by a common burthen, and are equally relieved, justice demands that all should contribute in proportion towards a benefit obtained by all, upon the rule of equity, qui sentit commo*362dum, sentire debet et onus. The doctrine held by the court below seems to be countenanced and sustained by the reasoning of this court in several cases, the decisions in which, involved principles strongly applicable to the present controversy. In the case of Hollingsworth vs. Floyd, reported in 2 H. & Gill, 87, judgments were obtained againstprincipal and surety, and the debt was paid by the surety; to reimburse to him such payment, an execution was issued upon the supersedeas judgment of the principal, against him and his sureties; in that case, this court (when speaking in reference to the liability of the sureties in the supersedeas judgment, to refund to the surety in the bond upon which the judgments were obtained, the money paid by him for his principal,) held the following language: “The process was moreover issued upon the supersedeas judgment against Joseph P. Floyd, and his superseders, Henry Abell and Edward Spalding, Jun’r., on whom William Floyd, in justice, could have no claim. If he had satisfied the whole debt, we should have said he was entitled equitably to an assignment of the judgment against his principal, and all liens which the principal had given to the creditor; but beyond this we should have been indisposed to have gone. We could not have rendered other persons liable to William Floyd, whose responsibility was in no sort contemplated, when he entered surety for his principal.” In 5 H. & John’s. Rep. 241, speaking in reference to the liability of bail to re-imburse to a surety money paid for his principal, for whom the bail had become bound, this court express themselves in terms of similar import. It is there said, “what equity has the surety, who became bound with his principal, to look to the bail of the latter, and who were not fixed at the date of the assignment for his indemnity? Their engagements were not contemporaneous or of the same nature. The undertaking of the surety was long prior in point of time to that of the bail, and the extent and nature of their obligations were essentially different.” “The surety, when he became bound for the principal, looked to him, and such fixed securities as he had given to the creditor for his indemnity, and to permit him to proceed against the *363bail, who were not fixed at the time of the assignment, would be contrary to the first principles of justice.” This was the case of an appeal from Chancery, and the decision of the court in reference to the liability of bail was governed exclusively by the general principles of equity, without regard to any remedy or responsibility in this State, created by statutory enactment. The principle is well settled, that where the surety pays off- a debt, he is entitled to have from the creditor an assignment of the security, to enable him to obtain satisfaction for what he had paid beyond his proportion. In 1 John. C. Rep. 413, Chancellor Kent says, “if the creditor to a bond exacts the whole of his demand of one of the sureties, that surety is entitled to be substituted in his place, and to a cession of his rights and securities, as if he was a purchaser, either against the principal debtor or the cosuretiesand in 1 Story's Equity, 474, it is said, “it matters not, in case of a debt, whether the sureties are jointly and severally bound, or only severally, or whether their suretyship arises under the same obligation or instrument, or under divers obligations or instruments, if they are for the same identical debt.” In the same book at page 477, the principle is stated to be that, “if there should be separate bonds given with different sureties, and one bond is intended to be subsidiary to, and a security for the other, in case of a default in payment of the latter, and not a primary concurrent security; in such a case, the sureties in the second bond would not be compellable to aid those in the first bond by any contribution.”
In the 1st vol. of the Law Library, 160, it is said, that “the right to contribution exists between all sureties of the same degree, whether they are engaged jointly or severally, and if severally, whether they are engaged all in one instrument, or in several instruments, and whether they have a knowledge of one another’s engagements or not; because in all these different eases, a payment by one surety is equally a benefit to all the other sureties.” All these cases it is to be observed, speak of the sureties as being co-sureties; also as being sureties of the same degree, and bound for the same identical debt, by an obligation at least concurrent in its char*364acter and effect, if not known to the surety claiming contribution at the time his responsibility was contracted. The only case having a different bearing and recognizing a different principle, is the case of Parsons vs. Briddoch, 2 Vernon, 608; and that case, this court say in 5 Harr. John. 242, “has pushed the doctrine of substitution to its utmost verge.” There the principal had given bail in an action; judgment was recovered against the bail; afterwards the surety was called upon and paid, and it was held, “that he was entitled to an assignment of the judgment against the bail.” That case was decided on the ground, that the bail stood in the place of their principal, and could not be relieved on other terms, than on payment of principal and interest and costs ; and standing in the shoes of the principal, who would have been responsible to the surety, it was a necessary consequence of that relation, that they should be subject to a similar liability. But in this case, where the same reason for responsibility does not exist to make the sureties in the last bond responsible to the sureties in the first, for the purpose of re-imbursement and indemnity, would be to reverse the general rule regulating the order of liability in analagous cases, without, as it seems to us, any valid and sufficient ground to justify the establishment of such a principle. At the same time, however, that we hold the surety in the last bond not responsible to the surety in the first, we are clearly and decidedly of opinion that the surety in the first bond would be entitled on the ground of substitution to the benefit of any lien upon his own property, either real or personal, which the principal might give to the creditor as security for the payment of his debt, as the means of re-imbursement and indemnity against loss, if in his character of surety, he should be compelled to satisfy such debt. Of his rightful claim to the benefit of such a lien, in that event, we think there can be no doubt, and his title would be equally valid, whether its existence was prior, contemporaneous, or subsequent to the time of his suretyship.
The judgment of the court below, for the reasons herein stated, must, however, be reversed, but no procedendo will be ordered. judgment reversed.