Utah Code Ann. § 76-6-602
(2) An actor commits retail theft if the actor knowingly:
(a) takes possession of, conceals, carries away, transfers or causes to be carried away or transferred, any merchandise displayed, held, stored, or offered for sale in a retail mercantile establishment with the intention of:
(b)
(3) A violation of Subsection (2) is:
(a) a second degree felony if the:
(b) a third degree felony if:
(ii) the merchandise is:
(iii) the retail value of the merchandise or shopping cart is or exceeds $500 and the actor has been twice before convicted of any of the following offenses, if each prior offense was committed within 10 years before the date of the current conviction or the date of the offense upon which the current conviction is based and at least one of those convictions is for a class A misdemeanor:
(iv)
(c) a class A misdemeanor if:
(ii)
(4)
(a) A court shall impose the mandatory jail sentence described in Subsection (4)(b), and may not suspend any portion of the jail sentence or grant early release, if:
(ii)
(b) The mandatory jail sentences referred to in Subsection (4)(a) are:
(c)