A teenager bottled his ex after a chance encounter on a night out led to a heated row that ended in violence.
His former partner was left with fragments of glass in her shoulder after Rio Jones’s attack.
Jones then shouted racial abuse at a passerby who rushed to help his victim.
READ MORE: Paige Rice and Callum Miller inquest: updates after couple died in tunnel crash
Liverpool Crown Court heard there had been a "significant" age difference between Jones, 18, and his older partner before their relationship ended in “acrimony” last year.
Peter Hussey, prosecuting, said: “There was then, on November 21, a chance meeting in Liverpool city centre in Wood Street, where his former partner had been out in town with her pals and the defendant was in town, I think, with a couple of his pals. It was around 5am when there was the first encounter.”
CCTV showed the pair arguing on and off for most of the next hour with, at around 5.40am, Mr Hussey highlighting “the repeated screaming of his victim shouting ‘Rio, Rio, no, no’ and then she cries for help”.
Mr Hussey said some of this took place out of view of the camera, but then: “What then appeared is the defendant, wildly angry, coming into view while hurling a bag he was carrying to the floor, hurling his coat to the floor, and then throwing a punch towards his former partner as a doorman or security officer is trying to hold him back.
“He was ushered away to the other side of the street and he gets his coat back and then all is quiet until another seven or eight minutes later.”
At that stage, Jones reached to the gutter and picked up a bottle and turned towards his victim, Mr Hussey said.
He said that, as she attempted to flee, Jones aimed “a hefty, hefty blow which struck her on the blade of her right shoulder ”.
It was unclear whether Jones threw the bottle at his victim, or hit her with it, but the attack left her with a deep cut that contained pieces of glass, and a displaced fracture to her shoulder blade.
Mr Hussey said a passing woman who shouted at Jones was then subject to abuse that included the words: “Why don’t you go back to your own country?”
The court was told the victim had not made a formal complaint about the incident but had given a victim impact statement after Jones admitted wounding and a racially aggravated public order offence.
Peter White, defending, said: “I concede from the outset the CCTV does Mr Jones no favours whatsoever. Clearly it was an unpleasant incident. Clearly he could have walked away sooner.”
He said his client, of Oldbridge Road in Speke, was of previous good character and accepted responsibility for his actions.
Of the abuse he subjected the stranger to, Mr White said Jones was “absolutely at a loss to say why he used that language”.
He added Jones was not a danger to the public and appreciated his behaviour was “completely unacceptable”.
The judge, Recorder David O’Mahony, concluded Jones’ “chances of rehabilitation” were “better served by me taking what I stress is an exceptional course given what happened”.
He handed him an 18 month sentence, suspended for two years, and ordered him to do 180 hours of unpaid work and 30 rehabilitation requirement days.
Jones was also made the subject of a curfew and a restraining order.
Receive newsletters with the latest news, sport and what's on updates from the Liverpool ECHO by signing up here