A Somerville man has pleaded guilty to two charges of enticement of a child under 16 and attempted rape of a child, the Middlesex County District Attorney said Monday.

Justin Koser, 31, was sentenced to two and half years in prison with five years probation with conditions of registering as a sex offender, GPS monitoring, no contact with the victim, no unsupervised contact with children under 16 and submitting to searches of his computer by probation.

Advertisement

According to investigators, Koser began communicating online with the victim through instant messaging on Sept. 12, 2012. The victim identified herself as 15, while Koser claimed to be a 17-year-old high school senior from Andover, investigators said.

Investigators said the turned sexual after the conversation moved to telephone texts. The girl's family reported the conversations to Reading police on Sept. 24.

Police tracked the computer to Koser's Somerville home. He was arrested on Oct. 6, 2012, after setting up a meeting with the girl in a secluded, wooded area.