The man pleaded guilty to attempting to engage in sexual conduct with children.