ROCKLAND, Maine — Under a sentencing agreement, a 37-year-old Rockland man will repay an elderly city resident $20,000 he collected from her to renovate a garage without ever doing the work.

Michael W. Carver received a 12-month deferred disposition on a felony theft charge during a hearing held Friday in Knox County Unified Court. Carver will receive a completely suspended five-year jail sentence if he meets the terms of the agreement over the next year.

Carver repaid the woman $10,000 and will have to repay the remaining $10,000 over the next 12 months in order to receive the fully suspended sentence. If he fails to meet the conditions, he could be ordered to serve up to five years.

Assistant District Attorney Jeffrey Baroody said Carver had been paid $20,000 in August 2014 to renovate the woman’s garage, but then he never did the work. He was indicted in February 2015.

Carver entered a no contest plea, which results in a conviction but allows him to contest the allegations in the event of a civil lawsuit. He was represented by attorney Scott Hess of Augusta.