A 24-year-old South Boston man was sentenced to five years in prison after pleading guilty of child sex crimes.

Shamon Jerrells pleaded guilty Thursday to two counts of carnal knowledge, one count of distribution of child sexual abuse material and one count of production of child sexual abuse material, according to a news release from Halifax County Commonwealth’s Attorney Tracy Q. Martin.