A man who subjected a woman to a violent attack has been sentenced to 11.5 years in prison