If any such surety, other than bail, or his committee, heir or personal representative, confess judgment, or suffer judgment to go against him by default, without giving notice to his principal, if he be a resident of the Commonwealth, or his committee or personal representative, to defend the suit, and after such principal offers to defend the suit, and tenders counter security, approved by the court in which the suit is pending, the principal, or his committee, heirs or representative, may have the benefit of every defense against the motion or suit of such surety, or his committee, representative or heirs, against him that he might have had against the creditor.
Code 1919, § 5778.
Structure Code of Virginia
Title 49 - Oaths, Affirmations and Bonds
Chapter 3 - Relief of Sureties
§ 49-22. Sureties on official bonds
§ 49-23. Surety on bond given under decree of court for payment of money
§ 49-24. Failure of officer to give new bond
§ 49-25. Surety may require creditor to sue
§ 49-26. Effect of failure of creditor to sue
§ 49-27. Surety's remedy against principal for money paid
§ 49-28. Confession of judgment by surety or failure to notify principal to defend
§ 49-29. Failure of principal to offer to defend suit against surety