The man beat his ex-girlfriend in May of last year.