California Penal Code Section 2900.1

CA Penal Code § 2900.1 (2017)  

Where a defendant has served any portion of his sentence under a commitment based upon a judgment which judgment is subsequently declared invalid or which is modified during the term of imprisonment, such time shall be credited upon any subsequent sentence he may receive upon a new commitment for the same criminal act or acts.

(Added by Stats. 1949, Ch. 519.)

Last modified: October 25, 2018