A 78-year-old Coram man was sentenced Thursday to 17 years in prison for raping a teenage girl over a two-year period — from the summer of 2014 until last September, authorities said.

Felix Mora, of Stanton Avenue, was convicted June 26 of second-degree and third-degree rape, second-degree and third-degree criminal sexual act, second-degree sexual abuse and one count of endangering the welfare of a child.

advertisement | advertise on newsday

Judge Barbara Kahn handed down the sentence Thursday in Suffolk County Court in Riverhead.

The investigation began after the victim, who was not identified because she is a victim of a sex crime, told a friend about the encounters with Mora, Suffolk District Attorney Thomas Spota said.

“Mora manipulated this young woman and used intimidation to control her during the years of abuse she endured,” Spota said in a statement after the verdict, adding that forensic analysis established a DNA link between Mora and the victim.