Such committing court may thereupon discharge the person, admit him or her to probation or may commit him or her to the state prison. The maximum term of imprisonment for a person committed to a state prison under this section shall be a period equal to the maximum term prescribed by law for the offense of which he or she was convicted less the period during which he or she was under the control of the Youth Authority.
(Amended by Stats. 1979, Ch. 860.)