An Orillia man will be spending time in jail for trying to lure a teenager over the internet for a sexual encounter.

Shawn Harrington, 29, pleaded guilty last month to child luring and several breaches of probation connected to a 2014 conviction for sexual interference involving another young male.

Harrington has now been sentenced to 256 days in jai,l but will serve 166 days because of time behind bars during pretrial custody.

The court heard Harrington communicated with a 15-year-old-boy last December, with the child's mother alerting Midland Police about the chatter.