A former inspector in the Vale of Glamorgan has been banned from policing.
Mark Henderson resigned from South Wales Police amid allegations of inappropriate sexualised behaviour while off duty.
A misconduct hearing, held behind closed doors last month, ruled the former detective would have been sacked from the force for breaching professional standards.
Henderson, who served with South Wales Police for 22 years, moved to Barry in 2019 as a local inspector, after working within CID and the public protection unit in Cardiff.
They added: ''The force continued with a hearing and it was found that had they remained serving they would have been dismissed for breaching the standard of professional behaviour relating to discreditable conduct, after an off duty incident whereby he was found to be acting in an inappropriate sexualised manner."
Following the hearing, Henderson was added to the College of Policing's barred list.
South Wales Police have not made any comment on the matter as the misconduct hearing took place privately.

£20 million regeneration Plan submitted to the UK Government
Popular Barry Island Chippy announces its closure
Missing Penarth man found after appeal
Parc prison expansion plan ''ill-judged''
Panto stars drop in at Penarth hospice
Ruth and Steve go training with the RNLI
Aberthaw: trespassing banned at power station
New trains coming to Vale line in 2026
Council approves next step in Crossrail scheme
Aberthaw turbine donated to aviation museum
Council publishes 2025 self-assessment
Calls to ‘eliminate’ small business rates rejected
Lifeboat crew commended after complex rescue
Cladding repairs 'nowhere near acceptable pace'
More council cash in budget deal
Council boss joins CCR Energy
Senedd backs bus shake-up
Labour and Plaid strike £300m budget deal