He attacked his ex-girlfriend almost a year ago.