If a personal surety or a surety company pays for a loss to a county under a depository bond, the surety is subrogated to the rights of the county in an amount equal to the amount of the surety's payment. However, the amount of the subrogation may not exceed the amount of the deposit secured by the surety at the time of the depository's default.
Tex. Loc. Gov't. Code § 116.152