If any service is performed by a person by direction of a court or justice, of the attorney general, or of the county attorney in bringing to justice an offender charged with a crime or misdemeanor, the superior court shall allow a reasonable sum therefor to be paid from the county treasury.
RSA 610:2
RS 211:15. CS 224:15. GS 245:2. GL 263:2. PS 261:2. PL 375 :2. RL 435:2. RSA 610:2. 1959, 12:1.