A dad was holding his baby daughter when he was mugged in Wakefield city centre, a court heard.
The victim was holding his two-month-old daughter and with his wife on Westgate when he was attacked at 8.30pm on January 22 this year.
Leeds Crown Court heard how Joshua Sargent, 21, first threatened and then punched the dad who was still holding the baby.
The victim then handed the baby to his wife as Sargent continued to make demands for cash.
The man handed over a £5 note and Sargent left. The court heard the victim and his wife were left badly shaken and other people who witnessed the attack were shocked.
Shortly before the attack Sargent had approached two young people on Westgate and tried to snatch their mobile phones.
Sargent was arrested after he was recognised from CCTV footage of the incident.
He told police during interview that he could not recall the incident because he was drunk at the time.
Sargent, of no fixed address, pleaded guilty to robbery and attempted robbery.
The court heard he has previous convictions for robbery and violent offences.
A probation service report described how Sargent had shown no remorse for the attack and had refused offers of help to address his offending behaviour.
Judge Rodney Jameson, QC, told Sargent: “I have read the pre-sentence report and it is a pretty depressing document.”
Sargent was sent to a young offenders’ institution for three years and four months.