John Wayne Hynes pleaded guilty to accessory after the fact in the death of Brett Elizabeth MacKinnon, who was last seen in June 2006.

A former Glace Bay man has been sentenced to three years in jail as an accessory to murder in the death of a 21-year-old woman who went missing more than seven years ago.

John Wayne Hynes, 34, pleaded guilty in January to assisting in the disposal of the body of Brett Elizabeth MacKinnon, some time between June and December 2006.

Hynes was sentenced to three years in prison and will get 1.5 days credit for every day he's already been in custody. That means Hynes' prison sentence will last just over one year.

"His sentence was certainly within the acceptable range," said Kathryn Pentz, the Crown attorney on Monday. "His lordship considered all the factors."

MacKinnon was last seen in June 2006 and reported missing in July of that year. More than two years later, hunters discovered her skeletal remains in a wooded area outside Glace Bay.

Cape Breton Regional Police arrested Hynes in January 2013.

Thomas Ted Barrett is charged with second-degree murder in MacKinnon's death. He is scheduled back in court next month for a preliminary hearing.

Barrett was also charged with second-degree murder in the case of missing 21-year-old Laura Jessome, whose remains were found in a hockey bag floating along the Mira River near Marion Bridge in 2012.