TRENTON — A Sayreville man who attempted to lure a 14-year-old boy he met online, who turned out to be an undercover detective, is going to prison.

A judge on Friday sentenced 38-year-old Craig Dimonda to five years in prison. He must also register as a sex offender under Megan's Law.

Dimonda pleaded guilty in March to luring and attempted distribution of child pornography.

Prosecutors say the detective encountered Dimonda on social media and Dimonda communicated by text messages over a three-month period to have a sexual encounter. Dimonda was arrested when showed up to meet the boy.

Attorney General Gurbir Grewal says the prison sentence sends a strong message that the state will "aggressively prosecute digital-age sexual predators."

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.