… the provisions of this act, who shall be credited to the state, and to the respective subdivisions thereof, which may … be employed as a substitute to serve in the troops of the State in which he enlisted; and if any drafted person shall … indictment or process, for any crime against the laws of a state, committed by him while violating the provisions of …