A North Yorkshire police detective molested an eight-year-old boy while babysitting him as a teenager before giving him £5 to keep quiet, a court has heard.
Detective Constable Chris Hogg, 49, is accused of carrying out the abuse while looking after the child for his mother in the 1980s.
He allegedly put his hand down the boy's trousers and told him, "you do me and I'll do you".
The victim, now aged 44, said the incident had stayed with him for the rest of his life, and that he recognised his alleged attacker because "he looked like Fonzie" from the hit US TV sitcom Happy Days.
Hogg arrived hand-in-hand with his wife at Sheffield Crown Court for his trial on Tuesday (21 November).
He is also accused of indecently assaulting a 14-year-old boy on a separate occasion between 1986 and 1989.
Hogg has pleaded not guilty to two counts of gross indecency with a child aged under 14 between 1982 and 1983. He also denies three charges of indecent assault on a child aged between 14 and 16, the Daily Mail reported.
Both incidents allegedly took place in the seaside village of Cloughton, North Yorkshire.
"The victim did not know the defendant when he came to babysit him and says a man, known to him as Chris, entered his room," prosecutor Sophie Drake reportedly told the court.
"The defendant then put his hands down the victim's pants and then told him: 'If you do me, I'll do you'."
The first alleged victim said: "The incident has stayed with me since I was eight and has never left.
"There are a lot of incidents in my life which I have forgotten over the years, but this was not one of them."
He added: "He told me he'd kill me if I told anyone and gave me some money – about £5.
"A few days later I told my mum while we were out walking the dogs, I didn't go into details, but said he touched my private areas. She took the £5 from me and said she would deal with it – we never spoke about the incident again."
The second alleged victim, the 14-year-old boy, was said to have visited Hogg's home where the two performed sex acts on each other.
He had initially told Hogg he "enjoyed" the experience, but had later said it so that he would stop, the court heard.
Drake told the court: "The crown say these incidents took place in a too similar location and time to say it was anyone else but the defendant."
Hogg was suspended from his place at work at the York Investigation Hub in 2016 after the allegations emerged.
The three-day trial continues.