The arrest came after an investigation into online child exploitation, Mercer County Prosecutor's Office said.