Eight-year prison sentence handed down in sex assault case