The opinion of the court was delivered by: Murray , J.
California Rules of Court, rule 8.1115(a), prohibits courts and parties from citing or relying on opinions not certified for publication or ordered published, except as specified by rule 8.1115(b). This opinion has not been certified for publication or ordered published for purposes of rule 8.1115.
This case comes to us pursuant to People v. Wende (1979) 25 Cal.3d 436.*fn1 Having reviewed the record as required by Wende, we affirm the judgment.
We provide the following brief description of the facts and procedural history of the case. (See People v. Kelly (2006) 40 Cal.4th 106, 110, 124.)
FACTUAL AND PROCEDURAL BACKGROUND
On March 25, 2011, three men were "hanging" out in a garage when defendant Nicholas Sean Carrillo kicked open the door and burst into the garage yelling "Norte, Norte, Norte." Defendant was wearing a red belt with a chrome buckle and a red and black hat, both inscribed with the letter "N." Defendant lunged at one of the men and, swinging a knife, slashed his leg. The men wrestled the knife from defendant and pinned him to the ground. The police were called and arrived on the scene. Defendant was combative with the responding officer and was taken into custody. During a later interview, defendant said he had gone after the men because they hit "one of my boys" with a baseball bat. The men, however, denied any gang involvement. Defendant was intoxicated at the time of the offense.
Defendant was charged with assault with a deadly weapon and burglary (Pen. Code, §§ 245, subd. (a)(1), 459),*fn2 both carrying enhancements for personal infliction of great bodily injury and commission of the offense for the benefit of a street gang (§§ 12022.7, subd. (a), 186.22, subd. (b)(1)(C)), and with street terrorism (§ 186.22, subd. (a)).
Defendant pled guilty to assault with a deadly weapon and admitted the great bodily injury enhancement. In exchange for his plea, the remaining charges were dismissed. Defendant agreed to waive presentence custody credits as a condition of being permitted to seek admittance into and attend a rehabilitation program.
On July 20, 2011, the trial court continued sentencing and released defendant on his own recognizance so he could participate in a one-year rehabilitation program with the Salvation Army. Defendant was terminated from the program on December 20, 2011 and was incarcerated while he waited for permission to re-enter the program. He was readmitted into the program on January 30, 2012.
Defendant was terminated from the Salvation Army program for a second time on March 2, 2012. The trial court denied defendant probation and sentenced him to state prison for the midterm of three years for the assault and a consecutive three years for the enhancement, for an aggregate term of six years. Having previously waived credit for the time he spent in custody awaiting entry into the program, defendant was awarded 17 days of credit for the time between his release from the rehabilitation program the second time and the date of sentencing. (CT 104, 107; RT 109) ...