SALEM, Mass. (AP) — Prosecutors say a man has admitted to helping cover up the killing of a woman who was found dead with her fiancée at a Massachusetts home.

The Essex district attorney's office says 45-year-old Michael Hebb pleaded guilty Wednesday in Salem to accessory after the fact in connection with the February deaths of 37-year-old Mark Greenlaw and 40-year-old Jennifer O'Connor.

Hebb was sentenced to six to seven years in prison.

Authorities say the victims' bodies were found inside a Peabody home. Greenlaw had been shot in the head while O'Connor had been stabbed.

They say Hebb tried to destroy the evidence of O'Connor's death.

Prosecutors allege co-defendant Wes Doughty killed the couple shortly after they moved in because he thought Greenlaw was going to cut in on his drug business. Doughty has pleaded not guilty.