No person, for the purpose of that person's sexual gratification, may:
Any person who violates any provision of this section is guilty of the crime of bestiality. Bestiality is a Class 6 felony. However, if the person has been previously convicted of a sex crime pursuant to § 22-24B-1, any subsequent violation of this section is a Class 5 felony.
SDCL 22-22-42