WAYNE — For two years, Youssef Eshak allegedly sent text messages, social media messages and recorded the home of a girl about three years younger than him while threatening to expose an intimate secret, according to court records obtained Friday.

But police say Eshak, a 2016 graduate of Wayne Hills High School who is now 19, didn’t stop there.

He allegedly followed his unidentified victim, who was 14 years old when the alleged harassment began, to her home, the high school she attended and other locations, according to an affidavit for probable cause filed by the Wayne Township police in Superior Court.

Eshak allegedly recorded her house and conducted surveillance while also talking with her parents and harassing them as well, according to the affidavit.

When the unidentified girl told Eshak to quit with the harassment, he allegedly threatened to shoot and kill her if she reported anything to authorities, according to a criminal complaint.

Authorities say they learned of Eshak's alleged activities earlier this month when he allegedly used a car key to scrape an "X" on doors of a car, owned by an unidentified boy, at the girl’s home. The damage cost about $830.

"The defendant provided a video statement in which he admitted to going to the (victim's) home and being angered to the point that he damaged a vehicle parked in the victim's driveway," the affidavit states.

Eshak was arrested Monday on charges that included coercion, criminal mischief, endangering abuse of minors, cyber harassment and making terroristic threats, authorities said. He was released on a summons and is to appear in Superior Court in Paterson next month.

Calls made Friday to family members of Eshak were not returned. Eshak’s wrestling coach at Wayne Hills High School declined to comment. A cellphone number for Eshak was disconnected.

Police have amassed a trove of video recordings, printouts of text messages, emails, and other documents to help prove their case, according to the affidavit.

"Contained in the text messages are statements made by the defendant in which he stated he would go to jail for her," the affidavit states.

Police interviewed the victim, and they determined Eshak followed the victim and appeared at school functions. It was not known if the victim attended the same school he did.

When Eshak spoke with police, he provided a video statement in which he admitted to being at the victim’s home and recorded her home, according to court records.