A man convicted of sexually assaulting a woman at knifepoint in a Pacific Beach alley nearly 25 years ago was sentenced Wednesday to 15 years to life in state prison.