Man sentenced to 17 years for assault