The 18-year-old man accused in a vicious attack on his ex-girlfriend in Cobalt last week was sentenced to house arrest five days before the Nov. 3 assault.