A former Patchogue resident convicted of stalking and assault has been sentenced to 7 years in state prison, the Suffolk County district attorney's office said Thursday.

Warren T., also known as Warren Granby, was convicted last month of endangering the welfare of a child and stalking a Patchogue grandmother and her granddaughter after he met them in a local library. He also was convicted of assault stemming from his arrest in January 2014 after he severely beat the victims' 76-year-old landlord, who had ordered T. to leave his property, District Attorney Thomas Spota's office said.

Prosecutors said T., 35, harassed the grandmother and her granddaughter by repeatedly visiting their home and the girl's bus stop. During the two-week trial, jurors were told that T. would go by their home and call to the child from the front lawn, promising the now 11-year-old girl that he would "take care of her and protect her."

advertisement | advertise on newsday

DataLI crime stats

At sentencing, the grandmother called T. a "conniving criminal" and told Judge John Toomey her granddaughter is "an innocent child put through hell and is still living through it."

T. was also sentenced Thursday to 5 years post-release supervision, Spota's office said.