Defendant appeals from the sentence imposed following his conviction for obtaining money by false pretenses in violation of Iowa Code section 713.1 (1977). He contends that under the 1977 code he could not be incarcerated and ordered to pay restitution. He also claims that his trial counsel rendered ineffective assistance by not requesting that defendant be sentenced under the present criminal code. The State agrees that defendant’s sentence is illegal and requests that we modify the sentence by voiding the restitution provision and affirming the incarceration. As for the ineffective assistance of counsel claim, the State argues that the record is insufficient for us to review the claim on direct appeal.
Our review of criminal appeals is ordinarily on assigned error.
State v. Cullison,
Defendant was charged and found guilty by a jury of violation of Iowa Code section 713.1 (1977), which provides for a maximum prison term of seven years. Defendant was sentenced to serve a term of imprisonment not to exceed seven years and was additionally ordered to pay restitution. The 1977 code authorized restitution as a condition of sentence when a defendant received deferred judgment or suspended sentence. Iowa Code § 789A.8(3) (1977). Since defendant did not receive a deferred judgment or suspended sentence he should not have been ordered to make restitution. Clearly defendant’s sentence must be modified in some way.
The revised criminal code which went into effect on January 1, 1978, provided that at the defendant’s request, the trial court could impose a sentence under the provisions of the new code for offenses committed before its effective date. Iowa Code § 801.5(2)(b)(2) (1983). The decision to apply the provisions of the new code in such cases is entirely within the discretion of the trial court.
State v. Bousman,
As the State points out, claims of ineffective assistance of counsel raised on direct appeal are ordinarily reserved for posteonviction proceedings to allow full development of the facts surrounding counsel’s conduct.
State v. Mulder,
*239
Since the sentence imposed on defendant is severable, we could strike the invalid part without disturbing the rest; however, we may also, of course, remand the case for resentencing.
State v. Krivolavy,
SENTENCE VACATED AND REMANDED FOR RESENTENCING.
