Ordered that the judgment is reversed, on the law, the sentence is vacated, and the matter is remitted to the Supreme Court, Nassau County, for further proceedings consistent herewith.
Although a court is free to reserve the right to order restitution as part of a plea bargain, the plea minutes in this case do not indicate that the plea of guilty was negotiated with terms that included restitution ( see People v Henderson, 44 AD3d 873, 873-874). Accordingly, at sentencing, the defendant should have been given an opportunity either to withdraw his plea or to accept the enhanced sentence of restitution and a prison sentence ( see People v Toms, 293 AD2d 768, 769; People v Watson, 287 AD2d 889, 890; People v Cisco, 208 AD2d 643; People v Cowan, 168 AD2d 509). Since the defendant was not afforded this opportunity, we remit the matter for that purpose, or for the imposition of the agreed-upon sentence.