A man sexually assaulted a shop assistant by slapping her behind as he walked past her in a Dublin department store.
The woman was at work on the shop floor when shopper Keegan Davidson (26) hit her before fleeing the scene.
He was later identified on CCTV and made full admissions, Dublin District Court heard.
The court heard the accused had 42 previous convictions, including for offences under the Money Laundering Act, theft, possession of knives, a shotgun and ammunition and drugs as well as assault and public order charges.
Judge Bryan Smyth adjourned the case for the production of a victim impact statement.
Davidson, with an address at Focus Ireland, pleaded guilty to sexually assaulting the woman.
The Director of Public Prosecutions had consented to the case being dealt with summarily at district court level.
Garda Maeve Hamilton said in evidence that the victim went to work on the evening in question in March, 2018.
While working, she saw a man approaching from her right hand side. She turned to get out of his path and "the suspect slapped the injured party on the buttocks".
He then fled the store.
The scene was covered by security cameras, and footage was downloaded that identified the accused.
When he was arrested and detained, Davidson made full admissions in relation to his actions, Gda Hamilton said.
Defence solicitor Philip Hannon said that at the time of the sexual assault, the accused was going through a "mental health situation" that had since been resolved and he was now in a "much more stable position".
It took time for the directions of the DPP to be given in the case, the court heard.
Gda Hamilton sought time for the production of victim impact evidence.
Judge Smyth adjourned the case to a date next month for this evidence and full mitigation to be heard ahead of sentencing.
The accused was remanded on continuing bail.