A young woman attacked by her boyfriend told police she did not want a restraining order because she wanted him to attend the birth of their child.
Doncaster magistrates imposed a suspended prison sentence on Thomas Albert Miller after hearing he and Lauren Pearson were still in a relationship together.
The 19-year-old pleaded guilty to a charge of common assault on Ms Pearson, who sat at the back of court to give her support to the defendant, and shed tears when the bench announced he would not be locked up.
Miller, of Market Street, Highfields, Doncaster, received a 12-week jail term, suspended for a year, and was given a community supervision order and told to complete 150 hours of unpaid work.
He must also pay court costs of £250 and compensation of £75.
Prosecutor David Sheppard said the couple had been in a relationship for nine months and Ms Pearson was 22 weeks pregnant when she was attacked on December 28.
The court heard she stayed at a friend’s house and began receiving menacing text messages from Miller who said he was outside and would kick the door down.
Mr Sheppard said she was scared so she ran onto the street where Miller grabbed her by the hair, pulled her to the ground and broke her phone before a friend intervened and separated them.
After his arrest Miller told police she was hysterical.
“She initially said she wanted a restraining order and now doesn’t want it, albeit the police say they have serious concerns for her wellbeing while she is involved with this defendant,” said Mr Sheppard.
Tim Williamson, defending, said the couple continued to live together and Ms Pearson wanted Miller to be present at the birth of the child.