A conviction cannot be had upon the testimony of an accomplice unless it is corroborated by other evidence which tends to connect the defendant with the commission of the offense. The corroboration is not sufficient if it merely shows the commission of the offense, or the circumstances thereof.
SDCL 23A-22-8