A Waynesboro man charged in a Memorial Day theft and pepper-spray assault has been sentenced to seven years in prison.