Appellant, Treymone Goldwire, appeals the trial court’s judgment of conviction and sentence of twenty years in the Department of Corrections, pursuant to the Criminal Punishment Code. Goldwire argues there was a sentencing error because the trial court was unaware it could exercise its discretion in imposing Goldwire’s sentence. We remand this case so the court may now exercise its discretion and properly consider all sentencing options.
Goldwire was charged by information with three counts of armed robbery with actual possession of a firearm 1 and one *845 count of grand theft of a motor vehicle. 2 Goldwire entered a plea of guilty to all four counts. Goldwire was adjudicated guilty on the first two counts of robbery with a firearm and received a sentence of two years in the Department of Corrections as a youthful offender, to be served concurrently with 389 days as credit for time served. For the other two counts, Goldwire was sentenced to four years probation as a youthful offender, consecutive with the two years of incarceration. Under condition (k)(4) of the orders of supervision for probation, Goldwire was required not to “violate any law of any city, county, state or the United States.” Gold-wire was subsequently charged by affidavit with violation of probation (“VOP”) for violating condition (k)(4) by commission of a criminal offense of possession of weapon or ammunition by a felon.
After Goldwire was charged, a final hearing was held to simultaneously consider a motion to suppress and VOP. The court believed that because Goldwire’s youthful offender VOP was based on substantive charges, it no longer had discretion for sentence imposition and was required to use the Criminal Punishment Code guidelines for sentencing. The trial court found that Goldwire was on probation, was a convicted felon, and violated his probation. The court revoked Goldwire’s probation and sentenced him to twenty years imprisonment for robbery with a firearm with a ten-year minimum mandatory sentence. Goldwire was also sentenced to five years on the grand theft count, to be served concurrently with the twenty-year sentence. Goldwire filed a motion to correct sentencing error pursuant to Florida Rule of Criminal Procedure 3.800(b)(2), contending that the court erred in sentencing him under the mistaken belief that it was required to impose adult sanctions. The trial court did not file a timely order in response to the motion, thus it is considered denied under Florida Rule of Criminal Procedure 3.800(b)(2)(B). Goldwire appealed the denial of his motion.
“[A] motion to correct a sentencing error involves a pure issue of law,” so the proper standard of review is de novo.
Kittles v. State,
A violation or alleged violation of probation or the terms of a community control program shall subject the youthful offender to the provisions of s. 948.06. However, no youthful offender shall be committed to the custody of the department for a substantive violation for a period longer than the maximum sentence for the offense for which he or she was found guilty, with credit for time served while incarcerated, or for a technical or nonsubstantive violation for a period longer than 6 years or for a period longer than the maximum sentence for the offense for which he or she was found guilty, whichever is less, with credit for time served while incarcerated.
§ 958.14, Fla. Stat. (2010). Section 948.06 states, in regards to violations of probation, that “the court may revoke, modify, or continue the probation or community control or place the probationer into community control.” § 948.06(2)(e), Fla. Stat. (2010) (emphasis added).
*846
This court has stated that if a “violation was substantive, the court
could
impose a sentence up to the maximum for the offenses.”
Bryant v. State,
This court has stated that where “the record suggests that the trial court mistakenly believed it had no discretion ... to sentence appellant,” the case should be remanded for “the trial court [to] exercise its sentencing discretion and consider all sentencing alternatives.”
Munnerlyn v. State,
“ ‘[U]nder the invited error doctrine, a party may not make or invite error at trial and then take advantage of the error on appeal.’ ”
Cordoba v. Rodriguez,
Therefore, we remand this case to the trial court for re-sentencing so the trial court can exercise its discretion in sentencing Goldwire. While the trial court might issue the same sentence, we remand to allow the trial court to properly consider all sentencing options with the knowledge that it has discretion, rather than being of *847 the belief it is required to sentence in a particular way.
Reversed and Remanded.
Notes
. In Florida, robbery with a firearm "is a felony of the first degree, punishable by im *845 prisonment for a term of years.” § 812.13(2)(a), Fla. Stat. (2010).
. In Florida, grand theft of a motor vehicle is a third-degree felony. § 812.014(2)(c), Fla. Stat. (2010). Grand theft of a motor vehicle is punishable by a maximum of five years in state prison. § 775.082(3)(d), Fla. Stat. (2010).
