Fourteen years later, she has stopped sleeping with a knife under her pillow — but the pain is “never ending,” a rape victim told a Manhattan judge today.

“It seemed like the whole world had gone black and that the soundtrack to my life was the sound of sirens and screaming,” the victim of monster rapist Lerio Guerrero said in a letter read aloud as he was sentenced to 15 years prison.

In the years after Guerrero held a jagged shard of glass to her neck and dragged her into a Lower East Side alley, her lingering flashbacks and terror cost her sleep, friends and her job, she said.

“My life shrunk,” the woman — who was not present in the courtroom — said in a letter read into the record by prosecutor Martha Bashford, who heads the Manhattan DA’s sex crimes unit.

“I booby trapped my windows and door, and went to bed with a knife under my pillow; yet I rarely slept,” she wrote. She has now regained some of her former confidence, she wrote. Still, “I will forever be haunted by that day.”

Guerrero, 33, of Staten Island, pleaded guilty earlier this month to raping, sodomizing and robbing the woman in a 1998 attack only solved when cops — working on a hunch when he was arrested for trespassing near a Brooklyn sex assault crime scene — collected his DNA off of a discarded cigarette. It matched evidence from the 1998 attack.

DA Cyrus Vance, Jr. noted that Guerrero could have been apprehended sooner if the new All-Crimes DNA law had been in effect earlier; Guerrero had been busted repeatedly in the past for driving and marijuana offenses, crimes which were not DNA-database eligible until the law was enacted this year.