Cal. Penal Code § 1203.42
(a) If a defendant was sentenced prior to the implementation of the 2011 Realignment Legislation for a crime for which the defendant would otherwise have been eligible for sentencing pursuant to subdivision (h) of Section 1170, the court, in its discretion and in the interest of justice, may order the following relief, subject to the conditions of subdivision (b):
(b) Relief granted pursuant to subdivision (a) is subject to the following conditions:
(d)