A Utah teen was arrested Saturday in connection to the death of a 16-year-old girl found hanging from a tree.

Tyerell Joe Przybycien, 18, was charged with murder after confessing to investigators that he helped the girl kill herself and recorded the incident, the Deseret News reported.

He told officers he was “suicidal and wanted to watch the victim die to see if it was something he could go through with himself,” according to an affidavit.

On Saturday morning, the girl was found hanging in Maple Lake, Utah, with a receipt for rope purchased by Pryzbycien nearby.

Authorities also recovered a cellphone and handwritten note identifying the girl at the scene. The note also said “if there were any questions to watch the video” on the phone.

Officers said they charged the phone and watched the video, which showed the girl’s final moments.

“You can clearly see the victim with a noose around her neck while standing on a rock,” according to an affidavit. “Przybycien is heard asking the juvenile to say something.”

In the video, the teen girl inhales a large dose of industrial strength air duster, which was later discovered at the scene.

“Przybycien then continues to film this incident on camera for approximately 10 to 11 minutes,” the report said. “Przybycien never offers assistance at anytime, and can be heard asking her to move or say something.”

Utah County Sheriff’s Sgt. Spencer Cannon said the 18-year-old was not captured on video trying to dissuade the girl from taking her life.

“Don’t know if he encouraged her as much as he did not actively discourage her. They talked about it,” Cannon told the Deseret News. “He knew what she intended to do. They went together as he purchased the items she intended to use. And he played an active role in her death.”

Przybycien reportedly returned to the scene while officers were still investigating and confessed his involvement.

He was taken into custody at Utah County Jail, where he is being held on $20,000 bail.