61-8-731. Driving under influence of alcohol or drugs -- driving with excessive alcohol concentration -- under influence of delta-9-tetrahydrocannabinol -- aggravated driving under the influence -- penalty for fourth or subsequent offense. (1) Except as provided in subsection (3), if a person is convicted of a violation of 61-8-401, 61-8-406, 61-8-411, or 61-8-465, the person has either a single conviction under 45-5-106 or any combination of three or more prior convictions under 45-5-104, 45-5-205, 45-5-628(1)(e), 61-8-401, 61-8-406, or 61-8-465, and the offense under 45-5-104 occurred while the person was operating a vehicle while under the influence of alcohol, a dangerous drug, any other drug, or any combination of the three, as provided in 61-8-401(1), the person is guilty of a felony and shall be punished by:
(a) sentencing the person to the department of corrections for placement in an appropriate correctional facility or program for a term of not less than 13 months or more than 2 years. The court shall order that if the person successfully completes a residential alcohol treatment program approved by the department of corrections, the remainder of the sentence must be served on probation. The imposition or execution of the sentence may not be deferred or suspended, and the person is not eligible for parole.
(b) sentencing the person to either the department of corrections or the Montana state prison or Montana women's prison for a term of not more than 5 years, all of which must be suspended, to run consecutively to the term imposed under subsection (1)(a); and
(c) a fine in an amount of not less than $5,000 or more than $10,000.
(2) The department of corrections may place an offender sentenced under subsection (1)(a) in a residential alcohol treatment program approved by the department of corrections.
(3) If a person is convicted of a violation of 61-8-401, 61-8-406, 61-8-411, or 61-8-465, the person has either a single conviction under 45-5-106 or any combination of four or more prior convictions under 45-5-104, 45-5-205, 45-5-628(1)(e), 61-8-401, 61-8-406, or 61-8-465, and the offense under 45-5-104 occurred while the person was operating a vehicle while under the influence of alcohol, a dangerous drug, any other drug, or any combination of the three, as provided in 61-8-401(1), and the person was, upon a prior conviction, placed in a residential alcohol treatment program under subsection (2), whether or not the person successfully completed the program, the person shall be sentenced to the department of corrections for a term of not less than 13 months or more than 5 years or be fined an amount of not less than $5,000 or more than $10,000, or both.
(4) The court shall, as a condition of probation, order:
(a) that the person abide by the standard conditions of probation promulgated by the department of corrections;
(b) a person who is financially able to pay the costs of imprisonment, probation, and alcohol treatment under this section;
(c) that the person may not frequent an establishment where alcoholic beverages are served;
(d) that the person may not consume alcoholic beverages;
(e) that the person may not operate a motor vehicle unless authorized by the person's probation officer;
(f) that the person enter in and remain in an aftercare treatment program for the entirety of the probationary period;
(g) that the person submit to random or routine drug and alcohol testing; and
(h) that if the person is permitted to operate a motor vehicle, the vehicle be equipped with an ignition interlock system.
(5) The sentencing judge may impose upon the defendant any other reasonable restrictions or conditions during the period of probation. Reasonable restrictions or conditions may include but are not limited to:
(a) payment of a fine as provided in 46-18-231;
(b) payment of costs as provided in 46-18-232 and 46-18-233;
(c) payment of costs of assigned counsel as provided in 46-8-113;
(d) community service;
(e) any other reasonable restrictions or conditions considered necessary for rehabilitation or for the protection of society; or
(f) any combination of the restrictions or conditions listed in subsections (5)(a) through (5)(e).
(6) Following initial placement of a defendant in a treatment facility under subsection (2), the department of corrections may, at its discretion, place the offender in another facility or program.
(7) The provisions of 46-18-203, 46-23-1001 through 46-23-1005, 46-23-1011 through 46-23-1014, and 46-23-1031 apply to persons sentenced under this section.