OPINION BY STRASSBURGER, J.:
Shawn Tann (Appellant) appeals from the judgment of sentence of 5½ to 11 years of imprisonment following revocation of his probation. We affirm.
The trial court summarized the history of the case as follows.
Trial Court Opinion, 7/12/2012, at 1-3 (citations omitted).
Appellant filed a timely notice of appeal, and both Appellant and the trial court complied with Pa.R.A.P. 1925.
We consider Appellant's challenge to his sentence pursuant to the following standard.
Commonwealth v. Simmons, 56 A.3d 1280, 1286-1287 (Pa.Super.2012) (quoting Commonwealth v. MacGregor, 912 A.2d 315, 317 (Pa.Super.2006)).
Because Appellant had been convicted of a PWID offense in 1999, the maximum sentence the trial court could have imposed originally was 20 years of imprisonment and a fine of up to $200,000. See 35 P.S. § 780-115 (providing for second or subsequent offenders a sentence and fine of twice the amount otherwise authorized). Appellant does not dispute this fact. However, because no one other than Appellant was aware of his prior conviction, the plea colloquy indicated that the maximum penalty he faced was 10 years' incarceration and up to $100,000 in fines. Appellant argues that this error is binding on the trial court, and prohibits the VOP court from sentencing him to more than the maximum provided in the plea colloquy. See Appellant's Brief at 10-11.
The trial court rejected Appellant's argument, relying upon Commonwealth v. Wallace, 582 Pa. 234, 870 A.2d 838 (2005), and Commonwealth v. Raphael, 879 A.2d 1264 (Pa.Super.2005). In Wallace, our Supreme Court, noting that the trial court upon the revocation of probation possesses all of the sentencing alternatives it had at the time of the initial sentencing, held "the court is similarly free to impose any sentence permitted under the Sentencing Code and is not restricted by the bounds of a negotiated plea agreement between a defendant and a prosecutor." Wallace, 870 A.2d at 843. See also Raphael, supra (same); Commonwealth v. Parsons, 969 A.2d 1259, 1270 n. 6 (Pa.Super.2009) (en banc) ("At re-sentencing following revocation of parole/probation, the court is no
Appellant argues that the more instructive precedent is our Supreme Court's decision in Commonwealth v. Mazzetti, 615 Pa. 555, 44 A.3d 58 (2012). In that case, the Commonwealth, in reaching a plea agreement with Mazzetti, waived application of a mandatory minimum sentence and, accordingly, did not provide the requisite notice of intent to seek it and did not present evidence of the applicability of it at sentencing. Upon revocation of Mazzetti's probation, however, the Commonwealth sought to invoke that mandatory minimum at resentencing. Our Supreme Court held that the Commonwealth could not do so. Because the Commonwealth failed to comply with the statutory prerequisites for applying the mandatory minimum at Mazzetti's original sentencing, the trial court did not have that option available to it at the original sentencing. Therefore, "[s]ince the court did not have the option to apply the mandatory minimum at [Mazzetti's] initial sentencing, the Commonwealth could not compel its imposition at resentencing." Id. at 65. Relying on Mazzetti, Appellant argues that because the Commonwealth did not ask the trial court to sentence him as a recidivist under section 780-115 at the initial sentencing, that enhancement was unavailable to the trial court at resentencing. Appellant's Brief at 11.
Neither the Wallace line of cases nor the Mazzetti decision is directly on point; however, we hold that the former is more analogous to the instant case.
Following the acceptance of a negotiated plea, the trial court is not required to sentence a defendant in accordance with the plea agreement. Such a sentence is legal, so long as it does not exceed the statutory maximum. However, a criminal defendant who is sentenced to more than was agreed upon in a negotiated plea may withdraw his guilty plea upon being deprived of the benefit of his bargain. See, e.g., Wallace, 870 A.2d at 843 n. 5 (citing Pa.R.Crim.P. 591(A)). Nonetheless, when such a criminal defendant violates the terms of his probation, he may be resentenced up to the statutory maximum, regardless of the fact that the lesser sentence induced him to plead guilty in the first place.
Similarly, had the trial court initially sentenced Appellant to more than the 10-year maximum sentence erroneously disclosed in the plea colloquy, the sentence would not have been illegal, but Appellant would have been entitled to withdraw his guilty plea. See Commonwealth v. Hodges, 789 A.2d 764, 767 (Pa.Super.2002) (noting that when a criminal defendant pleads guilty based upon incorrect information about what maximum sentence he could receive, and he is sentenced to a term beyond what he believed that he faced, he may withdraw his plea based on the manifest injustice that would otherwise result).
We are not moved by Appellant's implicit argument that, although knowing that he was a prior drug offender, he somehow relied upon the erroneous statement of his possible maximum sentence in twice deciding to violate the terms of his probation. Once Appellant violated the terms of his probation, he, like the defendant in Wallace, forfeited the benefit of the expectations that induced his plea, and was able to be legally sentenced to the maximum allowed by statute.
Commonwealth v. Aponte, 579 Pa. 246, 855 A.2d 800, 811 (2004).
Appellant does not dispute that his prior PWID conviction is a matter of public record. Accordingly, we are not persuaded that Appellant's sentence of 5½ to 11 years is illegal.
Judgment of sentence affirmed.