A Brooklyn man was sentenced Monday to 18 years ​behind bars for raping his 8-year-old stepdaughter — who kept the sickening sex attack a secret until revealing it in a college-application essay nearly a decade later.

Albert Tarrats, 62, remained mum throughout his sentencing in Brooklyn Supreme Court, but prosecutor Anna Krutaya read a statement from his victim, who ​wrote that she’s still haunted by his monstrous crimes.

“Getting closure and justice on this horrific situation is the best thing I could have gotten from this experience,” the now-18-year-old woman wrote.

“I didn’t realize how much of a burden it was on me til I went on the stand. Once I told my testimony and I was done, I felt like a weight had been lifted from shoulders.”

She also urged that Tarrats get a maximum, 25-year sentence.

“I will suffer from this memory for the rest of my life, and he will continue to feel no remorse, as well as deny it,” she wrote.

Krutaya said the brave young woman had undergone a “tremendously humiliating ordeal” and blasted Tarrats, saying he “has never accepted responsibility for his crime.”