A man left his former partner needing stitches after he threw a can at her face.
David Nicholls, 29, breached a restraining order for the fourth time when he attacked his ex on December 23 last year as she walked home from a shop in Cardiff.
The woman had heard someone shouting 50 metres behind her. She turned to see Nicholls "berating" her and "mumbling incoherently", prosecutor Peter Donnison told Cardiff Crown Court on Thursday.