A Massachusetts man who used to live in Lake Como has pled guilty for trying to lure an 11-year old Monmouth County girl into having sex with him and sending her nude photos through text message, according to the Monmouth County Prosecutors Office.

Michael Camacho, 55, who was actually texting an undercover police officer, will spend four years in a New Jersey state prison under terms of a plea deal after pleading guilty to sending sexually-explicit text messages to the cell phone he believed belonged to the young child.

He's also subject to the provision's of Megan's Law upon release and will be under parole supervision for life.

Camacho pled guilty to second-degree Endangering the Welfare of a Child and third-degree Endangering the Welfare of a Child in front of Superior Court Judge Paul X. Escandon.

He was charged following an investigation conducted by the Ocean Township Police Department with the assistance of the Monmouth County Prosecutor's Office Computer Crimes Unit.

The investigation began when Camacho contacted a female child on her cell phone.

An undercover detective with the Ocean Township Police Department took control of the child's phone and began communicating with Camacho posing as the child which spanned several weeks.

During the text message conversations with the undercover detective, Camacho discussed engaging in sexual activity with the child, sent obscene photographs of himself to the child, requested that the child send him photographs of herself, and discussed meeting up with the child.

The Ocean Township Police Department and Monmouth County Prosecutor's Office located Camacho in New Bedford, Massachusetts.

The Massachusetts State Police, Massachusetts Internet Crimes Against Children Task Force, Massachusetts Office of the Attorney General, Enterprise, Major and Cyber Crime Division and New Bedford Police Department provided substantial assistance in locating Camacho in New Bedford and arresting him on the outstanding charges.

Camacho is scheduled to be sentenced on January 25, 2019 in front of Judge Paul X. Escandon.

The case is assigned to Monmouth County Assistant Prosecutor Stephanie Dugan.

More From The Jersey Shore: