Appeal, by permission, from an order of the County Court of Albany County (Breslin, J.), entered August 19, 2009, which denied defendant's motion pursuant to CPL 440.10 and 440.20 to vacate the judgment convicting him of the crime of robbery in the first degree (two counts) and to set aside the sentence, without a hearing.
The opinion of the court was delivered by: Rose, J.P.
Calendar Date: October 21, 2010
Before: Rose, J.P., Lahtinen, Stein, McCarthy and Garry, JJ.
In 2005, defendant was charged in an indictment with five counts of robbery in the first degree. In full satisfaction thereof, he pleaded guilty to counts 1 and 5 and was sentenced, in accordance with the negotiated plea agreement, to consecutive prison terms of 25 years and five years, respectively. Both sentences also included a five-year period of postrelease supervision. In 2006, the Department of Correctional Services informed County Court that the five-year sentence was statutorily impermissible because Penal Law § 70.04 (3) (a) requires that a determinate sentence for a second violent felony offender convicted of a class B felony be at least 10 years. Defendant has yet to be resentenced and, on his direct appeal in 2008, we found defendant's lone assertion -- that the imposed sentences were harsh and excessive -- to be precluded by his valid waiver of appeal, and affirmed the judgment of conviction (52 AD3d 1121, 1122 , lv denied 11 NY3d 786 ).
Subsequently, defendant moved pursuant to CPL article 440 to vacate the judgment of conviction and to set aside the sentence, arguing that he should be permitted to withdraw his plea because of the illegality of the sentence on count 5 of the indictment. County Court, noting that defendant had been sentenced as a second felony offender rather than as a second violent felony offender, denied the motion without a hearing on the basis that defendant failed to raise the issue on his direct appeal. This appeal ensued.
The sentence imposed is illegal even if defendant is considered a second felony offender. The minimum available prison term for a second felony offender sentenced for a class B violent felony offense is eight years (see Penal Law § 70.06  [a]).*fn1 Further, a motion to set aside a sentence pursuant to CPL 440.20 is not barred by the failure to raise the issue of illegality on the direct appeal (see People v McCants, 15 AD3d 892, 893 ).*fn2 Inasmuch as an illegal sentence cannot stand, and "the entire sentence is 'part and parcel of the plea bargain,' it must be vacated in its entirety regardless of whether portions of the sentence are legal" (People v Sheils, 288 AD2d 504, 505 , lv denied 97 NY2d 733 , quoting People v Sellers, 222 AD2d 941, 941 ; see People v Ciccarelli, 32 AD3d 1175, 1176 ; People v Martin, 278 AD2d 743, 744 ). Accordingly, we remit to County Court to either resentence defendant in a manner that ensures that he receives the benefit of his sentencing bargain or permit both parties the opportunity to withdraw from the plea agreement (see People v Cameron, 83 NY2d 838, 840 ; People v Warren, 74 AD3d 1639, 1640 ; see generally People v Selikoff, 35 NY2d 227, 240-242 ; People v Surdis, 23 AD3d 841, 842-843 , lv denied 6 NY3d 818 ; People v Sheils, 288 AD2d at 505-506;).
Lahtinen, Stein, McCarthy and Garry, JJ., concur.
ORDERED that the order is modified, on the law, by vacating defendant's sentence; matter remitted to the County Court of Albany County for further proceedings not inconsistent with this Court's decision; and, as so modified, affirmed.
Robert D. MaybergerClerk of the Court