An action upon the bond of a marshal may be brought and prosecuted to judgment in this court, upon leave obtained from a judge of this court, according to the provisions relating to an action in the supreme court by a private person upon an official bond.
N.Y. New York City Civil Court Law § 1605