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.

Post Office Seeks New Operator in Dinas Powys as Village Faces Loss of Its Last Branch
Gardening team praised after helping police clear fallen tree near St Brides Major
Specsavers calls on children in Barry to design Wales Deaf Rugby World Cup shirts
Whitmore High Named One of UK’s Best Workplaces for Development
Steel Signing Marks Major Milestone in St Richard Gwyn School Redevelopment
Two Rescues in Record Heat as Volunteer Teams Respond to Afternoon Emergencies
Police find evidence of a large-scale cannabis cultivation at Riverside Place property fire
Network Rail confirm closure of Brookside level crossing in Dinas Powys
Police given powers to ask people to leave Comeston Lakes Country Park
Planned children’s role play centre could be given the go-ahead by Vale Council
Marie Curie Garden Fayre deemed huge success
Council seeks views on Future of Colcot Sports Centre and Buttrills Playing Fields
First Minister quizzed on further devolution, budget decisions, and misinformation in FMQs
Extreme heat leads to changes to services and closures
Severe Heat Warning Set to Disrupt Rail Travel Across South Wales This Week
Communities asked to support older people across Wales during severe heat warning
Caribbean Community Wales Brings Wales‑Wide Launch to Barry This Weekend
Community Award winner calls for sanitary bins in men’s toilets after living with prostate‑cancer‑related incontinence
Cardiff Airport Backs Holiday Safety Campaign Honouring Rhoose Teenager Tom Channon