NY man caught via Facebook gets 20 years in attack

A registered sex offender has been sentenced to 20 years in prison for beating a 12-year-old New York boy with a pool cue — a crime that was solved when the boy identified the man via Facebook photos.

The Onondaga County Court judge who sentenced 35-year-old Scott Miles on Monday says he turned the boy's suburban Syracuse home into a "house of terror."

The attack happened in Mattydale early on the morning of Sept. 22. Miles had pleaded guilty to felony burglary.

Authorities don't know why Miles broke into the home. They say he didn't know the boy or his mother, who wasn't home.

Miles was arrested after the boy recognized him from a picture on Miles' Facebook page. Miles had connected with the boy's mother after the attack, but police don't know why.