SEC. 28. And be it further enacted, That in all causes wherein the marshal or his deputy shall be a party, the writs and precepts therein shall be directed to such disinterested person as the court, or any justice or judge thereof may appoint, and the person so appointed, is hereby authorized to execute and return the same. And in case of the death of any marshal, his deputy or deputies shall continue in office, unless otherwise specially removed; and shall execute the same in the name of the deceased, until another marshal shall be appointed and sworn: And the defaults or misfeasances in office of such deputy or deputies in the mean time, as well as before, shall be adjudged a breach of the condition of the bond given, as before directed, by the marshal who appointed them; and the executor or administrator of the deceased marshal shall have like remedy for the defaults and misfeasances in office of such deputy or deputies during such interval, as they would be entitled to if the marshal had continued in life and in the exercise of his said office, until his successor was appointed, and sworn or affirmed: And every marshal or his deputy when removed from office, or when the term for which the marshal is appointed shall expire, shall have power notwithstanding to execute all such precepts as may be in their hands respectively at the time of such removal or expiration of office; and the marshal shall be held answerable for the delivery to his successor of all prisoners which may be in his custody at the time of his removal, or when the term for which he is appointed shall expire, and for that purpose may retain such prisoners in his custody until his successor shall be appointed and qualified as the law directs.