A 21-year-old man from the Elsipogtog First Nation in New Brunswick has been sentenced to four years in prison on charges related the sexual assault of a minor and sharing child pornography.

Dan Bannister/ThinkStock

RCMP say charges against Billy Ray Peters included possession of child pornography, making child pornography available, sexually assaulting a minor and breach of court-ordered conditions.

An investigation led by the New Brunswick RCMP's Internet Child Exploitation unit resulted in a search warrant at a residence in Elsipogtog First Nation in January 2016. RCMP said charges from this investigation related to online images of child sexual abuse.

A second investigation last year by the Elsipogtog RCMP involved the sexual assault of a minor and breach of court-ordered conditions.

Peters pleaded guilty to all charges and was sentenced in Moncton Provincial Court on Tuesday. He has already served 8 months of the 48-month sentence.

He will also be registered for life on Canada's National Sex Offender Registry, supply a DNA sample and has court-ordered conditions limiting contact with children and his use of computers.