A wife has described how she discovered indecent images of young girls on her sergeant major husband's computer.
Richard Brown claims he was set up by someone with a grudge
Lynne Brown was using the family computer when she discovered the pictures on CDs, Cardiff Crown Court heard.
Richard Brown, of Nantyglo, Ebbw Vale, is also accused of secretly filming girls undressing at a military camp.
The 42-year-old denies charges of taking indecent photographs, possessing indecent photographs and voyeurism.
The court heard Mrs Brown, 41, saw disturbing images on CDs at the couple's marital home in Crickhowell, Powys.
She told police: "I scrolled down them and one which stuck out was of a 14-year-old girl wearing a mask.
"I put other CDs in and one of them involved children he works with shot with a camera.
"It had young girls with wet T-shirts. I didn't scroll any further through the CD's and handed them in to the police."
Police searched the couple's home and found a box full of CD's and floppy discs hidden in the garage.
The court heard Mr Brown rang a soldier friend saying he was in trouble and asked him to go to his home to destroy the photographs.
Sgt John Edwards told the court: "He asked me to go to his garage and take out two boxes he had put in there.
"I was a bit panicky, he was friend and he had put me on the spot.
"I drove into the estate where he lived and saw his wife Lynne driving away.
"I called him and told him I couldn't do it because Lynne wasn't at home."
Mr Brown ran an army residential careers course called "Look at Life", which aimed to give schoolchildren aged 14 to 16 a taste of life in the army.
The court has previously heard he would dress in black and loiter outside the girls' dorm in darkness to film the girls as they got ready for bed.
Prosecutor Ieuan Morris said: "He was in a position of tremendous responsibility in which schools and young girls placed their trust in him."
Mr Brown denies seven charges of taking indecent photographs, one of possessing indecent photographs and four of voyeurism.
He claims was set up by someone with a grudge.
The trial continues.