Penal Code section 2900.1


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.

Source: Section 2900.1, https://leginfo.­legislature.­ca.­gov/faces/codes_displaySection.­xhtml?lawCode=PEN§ionNum=2900.­1.­ (updated Jan. 1, 1949; accessed Jul. 7, 2025).

Green check means up to date. Up to date

Verified:
Jul. 7, 2025

§ 2900.1's source at ca​.gov