He continued to follow her for around another one minute, the court heard.

The defendant then went up to her and groped her bum cheek.

Mr Conroy added: “She was shocked and frightened. She told him it was not right for him to do this. He had his arms around her chest and then the next thing she knew, she was on the floor on top of him. He lifted his right hand towards her crotch and started to move her hand up towards her chest.

“She said ‘my mind froze, I was in total shock’. She managed to get out her mobile phone and use the SOS function to call 999. This let out a loud beeping sound and this forced him to instantly let go and run away down an alleyway. She had said nothing to him to warrant giving him any right of doing this.

Miah gave no comment in police interview. His lawyer Saul Comish said in mitigation: ''This offence was quite opportunistic.

''He is in employment at a takeaway where he works from 4 to 11pm. He is married and is a father to a four-year-old child. If you feel a custodial sentence is required, he would lose his job and he the sole earner for his family, so this would have a significant impact."