TRENTON, N.J. — A man who got a 13-year-old girl he met online to send him explicit pictures of herself and then threatened to kidnap her if she didn’t send more photos is now headed to state prison.

State Attorney General Chris Porrino says Craig Wyatt received a five-year sentence on Friday. The 25-year-old Willingboro man will also have to register as a sex offender.

Wyatt had pleaded guilty in June to manufacturing child pornography.

Authorities say Wyatt met the girl online in 2014 and soon obtained nude photos of her. He then threatened to kidnap her and post the photos he already had if she didn’t provide more pictures.

Wyatt was on probation at the time after serving more than a year in jail for stalking and threatening other girls on Facebook.