*481In this consolidated criminal appeal, defendant seeks reversal of the trial court's imposition of $567 in court-appointed attorney fees in Case No. 17CR22672 and $690 in court-appointed attorney fees in Case No. 17CR38868. Defendant asserts, and the state concedes, that the trial court erred in imposing attorney fees in this case because it did not impose them in defendant's presence in *98open court. Instead, the imposition of attorney fees in the amounts listed above first occurred in the written judgments. We agree with the parties that the trial court erred when it imposed the attorney fees outside of defendant's presence.1 See State v. White , 269 Or. App. 255, 257, 344 P.3d 510 (2015) (reversing portion of judgment requiring payment of attorney fees where the trial court erred in imposing those fees in judgment but had not imposed them in open court); see also ORS 137.030 ("For the purpose of giving judgment, if the conviction is for *** [a] felony, the defendant shall be personally present.").2
Portion of judgments requiring defendant to pay attorney fees reversed; otherwise affirmed.