LOS ANGELES (CBSLA.com) —  Authorities said an 18-year-old Rhode Island man has pleaded no contest to charges he flew to Southern California to have sex with a 12-year-old girl.

The Los Angeles County DA’s office said Wednesday that Joel Rivera entered his plea to one count each of meeting a minor for lewd purposes, distributing or showing pornography to a minor and contact with a minor for sexual purposes.

READ MORE: 'When I Finally Got To Be Elvira, That's When My Life Calmed Down': Mistress Of The Dark Peels Back The Curtain

Sentencing is scheduled for April 15 in the Los Angeles County Superior Court’s Antelope Valley Branch.

Deputy DA Jon Hatami said Rivera began contacting the Palmdale girl through an anonymous webcam chatting app in August. Rivera exchanged sexually explicit images with the child for nearly a month through various messaging apps, the prosecutor added.

READ MORE: News Conference Wednesday In ‘Rust’ Shooting Death Of Halyna Hutchins

When the girl’s mother became aware that Rivera planned to fly to the LA area from Rhode Island to have meet and have sex with her daughter, the mother contacted the Los Angeles County Sheriff’s Department.

Rivera was arrested at Bob Hope Airport in Burbank on Sept. 3.

MORE NEWS: Jan. 6 Committee To Subpoena Former Chapman Law Professor John Eastman

The case was investigated by the Los Angeles County Sheriff’s Department, Special Victims Bureau.