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: Public Health Officials Lift Warnings For Certain LA County Beaches

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: Fourth Officer Who Responded To January 6 Attack Dies By Apparent Suicide

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: 'People On This Block Are Hurting': More Allegations Pinned On LAPD In Aftermath Of South LA Fireworks Explosion

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