DOVER, Del. (AP) — A man who was sentenced to life in prison for a murder committed when he was 17 has been resentenced to 37 years in prison.

A judge on Friday sentenced 37-year-old Justin Burrell to the minimum 25-year term for the 1998 murder of Dolly Fenwick.

Burrell received nine years for three counts of possessing a firing while committing a felony, two years for robbery, and one year for burglary.

Judge William Carpenter Jr. said the sentence was the minimum he could impose under the law.

Fenwick was shot after Burrell, wearing a wig, hat, sunglasses, and his sister's makeup, forced his way into her trailer to steal money.

The resentencing is one of several required in Delaware after the Supreme Court in 2016 retroactively banned mandatory life terms for minors.