If a conviction for a violation of § 32-23-1 is for a sixth or subsequent offense, and the person had at least five convictions of § 32-23-1 occurring within twenty-five years of the violation being charged and at least two of those prior convictions occurred within ten years, the violation is an aggravated offense and the person is guilty of a Class 4 felony. If a person is convicted of an aggravated violation of § 32-23-1 and the person has at least six convictions of § 32-23-1 occurring within fifteen years of the violation being charged, the court must sentence the person to at least six years in a state correctional facility, one year of which must be served on parole, unless refused pursuant to §