Cal. Penal Code § 1170.127
(a) A person who is committed to a state hospital after being found not guilty by reason of insanity pursuant to Section 1026 may petition the court to have his or her maximum term of commitment, as established by Section 1026.5, reduced to the length it would have been had Section 1170.126 been in effect at the time of the original determination. Both of the following conditions are required for the maximum term of commitment to be reduced: