Jimmy Savile raped a 15-year-old girl who was then immediately raped again by another DJ who told her “you should be thanking us”, a court has been told.

Ray Teret, a former DJ with pirate station Radio Caroline, took the teenager to a Manchester flat in the early 1960s where she found Savile, Manchester Minshull Street crown court heard.

The girl met Teret, who also worked at Manchester’s Piccadilly Radio, at her first disco where he was DJing, prosecutor Tim Evans said. After offering her a cigarette, Teret, now 72, allegedly took her to the flat in a bubble car to deliver some “fancy boots” to Savile.

“She couldn’t believe it when she saw Jimmy Savile, who was famous even then, in the flat and couldn’t wait to tell her friends who she’d met,” said Evans. “She was offered a drink – a Lucozade – and asked to sit down. Savile put his hands up her skirt, pulled her knickers down, pushed her down on the bed,” said Evans. “She said ‘What are you doing?’ and will tell you she didn’t know anything about sex. Savile raped her.”

Evans said Teret raped her immediately afterwards. “Teret came across to her. He pushed her back on the bed and he too forced himself on her,” he said.

Teret allegedly later told the girl: “You should be thanking us because we have made it easier for when the next person goes there.” He is claimed to have given her cash and told her: “Get the bus home, I have got to go back to the club.”

Evans said Teret “deliberately brought a vulnerable and inexperienced girl back to the flat for Savile to rape her”.

Teret, of Altrincham, Greater Manchester, is on trial with two other men, William Harper and Alan Ledger, accused of sex offences against girls dating back to 1962. The three face charges relating to a total of 17 girls, all now grown up.

Teret denies 18 rapes, two other serious sexual assaults, one attempted rape, 11 indecent assaults and two counts of indecency with a child.

Ledger, 62, from Altrincham, denies a serious sexual assault, two indecent assaults and one count of indecency with a child. Harper, 65, of Stretford, denies one count of attempted rape.

Teret “used the celebrity that he had to abuse young girls in various ways and that the other two defendants – Mr Ledger and Mr Harper, who were friends and associates of Teret – also became involved on occasions,” Evans told the court.

The girl came forward only after Teret had already appeared in court in relation to this trial in April this year, the jury heard. She felt “terrible” after seeing him emerge from court waving and smiling, and it affected her relationship with her husband so badly that he tried to kill himself. After explaining to him what was wrong, she went to the police, Evans said.

He said the defendants should not be contaminated “because of the spectre of Savile”, adding: “This is not guilt by association and that sort of notion plays no part in this trial.”

The case continues.