GLENS FALLS -- A Glens Falls teen videotaped himself sexually abusing a young child, then sold the phone to a friend who contacted police after finding the video, authorities said.

The suspect, Joshua M. Heym, 18, of Fifth Street was charged with first-degree sexual abuse, a felony, and misdemeanor endangering the welfare of a child after an investigation by Glens Falls Police, according to police.

Glens Falls Police detectives determined he had sexual contact with a young child who is younger than 11 years old, and child pornography charges are possible after State Police computer experts analyze the phone, Glens Falls Police Detective Lt. Peter Casertino said.

Heym knows the child, and is accused of having sexual contact with the child earlier this month, Casertino said.

The incident had not been reported to police until Heym sold his cell phone to an acquaintance, but failed to erase the video that shows him having sexual contact with the child, Casertino said.

The acquaintance did the right thing and contacted police, who investigated the discovery Sunday and arrested Heym, Casertino said.

Investigators were able to determine who the girl was, and Heym made admissions when interviewed by police, he added.