A Lawrence Weston man who "bombarded" his former partner with phone calls after they split has been jailed.
Thomas Croker continued to pester the woman even though both she and police asked him to stop.
Bristol Crown Court was told that between August and November last year he phoned her more than 400 times.
READ MORE: Bristol activist glues herself to court steps
Croker, 29, of Badenham Grove, pleaded guilty to stalking.
Judge William Hart jailed him for eight months.
He told Croker: "What you did was to bombard her with calls and emails as well as attending her property so she didn't know whether she was coming or going.
"Those who behave like this need to know that an immediate custodial sentence is almost bound to follow.
"If you continue in this way it will mean a lot of your future life will be in prison.
"I assume that's something you want to avoid."
The judge imposed a five-year restraining order banning Croker from contacting the complainant.
Want our best stories with fewer ads and alerts when the biggest news stories drop? Download our app on iPhone or Android.
Ian Fenny, prosecuting, said the couple met online and were together for some two years before the relationship ended in April last year.
He told the court Croker persisted in contacting her and received a police warning to stop.
But he persisted in calling and emailing her, turned up at her home and received another police warning, the court heard.
Mr Fenny cited one occasion when Croker was seen driving along the woman's road, beeping his horn.
On another occasion he arrived at her home, played loud music from his vehicle and shouted at her, Mr Fenny said.
He was eventually arrested a third time and ended up in court.
The complainant suffered anxiety as a result, the court heard, and was left feeling unsafe in her own home.
Daniel Woodman, defending, said while remanded in custody his client had taken different mental health medication and now felt like a changed man.
Mr Woodman said his client had some good qualities and his first taste of prison had not been pleasant.
He told the court: "He's been told he can go straight back into delivering and installing white goods."
Sign up for our new Bristol's Court Insider newsletter for the latest court and crime news - from arrests to trials and sentencings