A SEX attacker who smiled as he assaulted a woman outside a Southampton pub was caught after the victim took a picture of him to give to police.

Tomasz Adam Boron attempted to touch the woman as she waited outside The London Hotel, on Oxford Street.

As she pleaded with him to stop, the 38-year-old grinned while the woman took a picture of him to give to police.

READ MORE: Teenager caught with weapon at Southampton Central Railway Station

Previously, Southampton Magistrates’ Court heard Boron had been out drinking with his colleagues but made a “horrible mistake” when he tried to get close to the woman.

Prosecutor Ryan Seneviratne told the court all options should be open to the court when considering what Boron’s sentence should be – including prison.

He said: “This was a serious sexual offence on a stranger outside a bar...when bouncers at the bar saw what happened, they asked him to leave.

“The woman shouted at Boron twice to stop and that’s when the bouncers became involved.”

The court heard that the following morning Boron woke up with “a big headache and a hangover” as he began to piece together what had happened the previous night.

Will Day, mitigating, said: “He made a horrible mistake and has committed a very nasty offence on that young lady.

“He will accept any punishment for his actions.

“He is sorry and deeply ashamed by his behaviour.”

Mr Day added that once the police were called by the victim, Boron waited for them to arrive and was arrested outside the bar at around 10.30pm on August 4.

In his interview, Mr Day said, Boron, of Millbrook Road East, Southampton, admitted attempting to sexually touch the woman.

During his hearing, Boron pleaded guilty to sexual assault on a female.

Boron was made the subject of a community order, which includes the requirement to complete 100 hours’ unpaid work within the next year.

He was ordered to pay £400 compensation, £85 costs and £85 victim surcharge.

READ MORE: Man dies after being struck by train in New Forest