In the case of an accessory in the commission of a public offense as defined in § 22-3-5, where the principal offense is committed in one county and the offense of the accessory is committed in another county, the venue is in either of the counties where the prosecution is first commenced.
SDCL 23A-16-16