Police say a California educator jailed on felony charges of sex abuse confessed to having a sexual relationship with a former student who confronted her over the phone and posted video of the conversation on YouTube.

Riverside police Detective Roberta Hopewell said in court papers obtained Tuesday by The Associated Press that 40-year-old Andrea Cardosa told Alhambra police she had a sexual relationship with the now-28-year-old woman who made the video when the alleged victim was a teen.

Hopewell says the officers interviewed Cardosa after the woman sent the video to Alhambra High School, where Cardosa was an assistant principal.

On Monday, prosecutors charged Cardosa with 16 counts of sexual assault and abuse involving two alleged victims.

Messages left Tuesday for Cardosa's lawyer, Randy Collins, were not immediately returned.