If an adult has a previous conviction for violation of subdivision 22-22-1(5), or a previous conviction for a felony violation of § 22-22-7, or a previous misdemeanor conviction of § 22-22-7 for a violation committed as an adult, any subsequent conviction of subdivision 22-22-1(5) or § 22-22-7, is a Class 2 felony.
SDCL 22-22-7.7