A Philadelphia man was sentenced to 40 years in prison Monday after pleading guilty to manslaughter and arson about midway through his murder trial.

The trial of Daniel Larry Williamson, 48, charged with the March 2 murder of Terri Lee Gwyn, 29, and with arson came to an unexpected halt Monday afternoon after he accepted a plea bargain.

Williamson, of 100 Sistrunk Ave., Lot 3, was sentenced to 20 years for manslaughter and 20 years for arson, as part of the plea agreement.

Judge Marcus Gordon ordered that the sentences run consecutively.

Gwyn's remains were found on a bed inside her mobile home, which was destroyed by a fire.

An autopsy, which was ordered after an accelerant was detected on the bed, showed that Gwyn died of asphyxia prior to the fire.

Gwyn and Williamson lived together in the mobile home, according to testimony in the trial.