A South Wales Police officer created a quiz, which referred to an allegation of indecent exposure made against a fellow officer, and poked fun at the woman who had made the allegation.
A report published today by the police watchdog the Independent Police Complaints Commission reveals that Detective Sergeant Richard Jones created the quiz, which was used by colleagues on a trip outside of work.
It also contained sexually explicit remarks.
Det Sgt Jones and another officer have been sacked due to their handling of sexual offence allegations made against former family liaison officer Jeffrey Davies.
Mr Davies was jailed last August for two counts of sexual assault, although he was cleared of the further allegation of indecent exposure against this woman.
The woman made an allegation of indecent exposure against Jeffrey Davies in April 2011.
The IPCC found that Det Insp Camm failed to refer the woman's complaint to the Professional Standards Department, nor treat her as a victim of a sexual offence, and failed to carry out an effective investigation.
The IPCC's investigation also uncovered a series of inappropriate emails and documents from Detective Sergeant Richard Jones' computer, a number of which were sexual in nature.
One document, created the day after the woman had made the allegation against Mr Davies, contained lewd sexual and derogatory references to the woman.
Another document, written a few weeks after the woman's allegation, contained a list of questions about staff members, with multiple choice answers and a number of sexually explicit remarks.
One question referred to the woman's allegation specifically, describing it as 'scurrilous', and with derogatory references poking fun at her.
Det Sgt Jones told the IPCC that the quiz was used on a bus journey on a trip with colleagues outside of work hours.
IPCC Commissioner Jan Williams said: "I read with a sense of repulsion the sexual content of comments made by Detective Sergeant Jones, both in his emails and in the two documents found on his computer. They were littered with lewd language."
"One of the documents demonstrated a total lack of empathy and respect for a victim who had shown real courage to report an allegation of indecent exposure against a police officer. He treated her complaint as sport, to be used as part of a quiz with colleagues outside work."
"This was outrageous and demonstrates the contempt in which the woman and her allegation was held."
"It is only right that these officers have been dismissed. Their failure to challenge inappropriate behaviour strikes at the heart of confidence in policing and tarnishes the good work done by officers every day."
More top news
Gareth Bale insists reaching the last eight of Euro 2016 is not enough for Wales ahead of their quarter-final against Belgium.
Thousands of Queen Bey fans are expected to descend upon the capital on Thursday, as the Formation World Tour comes to Wales.
Inspectors say South Wales Police has improved how it protects children but there are still some areas that need further attention.